Remove unnecessary condition

This commit is contained in:
Dan Stillman 2017-10-07 03:43:02 -04:00
parent 982719bf83
commit d4569d3640

View File

@ -282,7 +282,6 @@ Zotero.DataDirectory = {
throw { name: "NS_ERROR_FILE_NOT_FOUND" };
}
}
if (nsIFile) {
try {
let dbFile = OS.Path.join(nsIFile.path, dbFilename);
let mtime = (yield OS.File.stat(dbFile)).lastModificationDate;
@ -307,7 +306,6 @@ Zotero.DataDirectory = {
}
}
}
}
// If no custom dir specified, check for a subdirectory
else {
try {