Fix broken DataDirectory.removeSubdirectory() (regression 7f2d83a6)

This commit is contained in:
Adomas Venčkauskas 2018-08-16 11:41:16 +03:00
parent 2cf940763f
commit 044b08c9af

View file

@ -1249,6 +1249,6 @@ Zotero.DataDirectory = {
* or false if it did not exist
*/
removeSubdirectory: function (name) {
return Zotero.File.removeIfExists(OS.Path.join(this.dir, name));
return OS.File.removeDir(OS.Path.join(this.dir, name), {ignoreAbsent: true});
}
};