Remove unnecessary condition
This commit is contained in:
parent
982719bf83
commit
d4569d3640
|
@ -282,7 +282,6 @@ Zotero.DataDirectory = {
|
||||||
throw { name: "NS_ERROR_FILE_NOT_FOUND" };
|
throw { name: "NS_ERROR_FILE_NOT_FOUND" };
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (nsIFile) {
|
|
||||||
try {
|
try {
|
||||||
let dbFile = OS.Path.join(nsIFile.path, dbFilename);
|
let dbFile = OS.Path.join(nsIFile.path, dbFilename);
|
||||||
let mtime = (yield OS.File.stat(dbFile)).lastModificationDate;
|
let mtime = (yield OS.File.stat(dbFile)).lastModificationDate;
|
||||||
|
@ -307,7 +306,6 @@ Zotero.DataDirectory = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
// If no custom dir specified, check for a subdirectory
|
// If no custom dir specified, check for a subdirectory
|
||||||
else {
|
else {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user