diff options
author | Phie <phie@phie.ovh> | 2019-05-29 21:57:53 +0300 |
---|---|---|
committer | Phie <phie@phie.ovh> | 2019-05-29 21:57:53 +0300 |
commit | 8a69ec7c98fac4ab090ca536ea664be948fa0cf5 (patch) | |
tree | c6308875d821ca95c79681608f71372b7fc7a2eb /server | |
parent | 12703a964b8be6b5556f8d198ad13f902d563e37 (diff) |
fix remove from cache manager
Diffstat (limited to 'server')
-rw-r--r-- | server/sync/sync.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sync/sync.js b/server/sync/sync.js index bdd71bc..2005cd7 100644 --- a/server/sync/sync.js +++ b/server/sync/sync.js @@ -247,7 +247,7 @@ Sync.prototype.deleteLocalAndSave = function (local, callback) { return } if (local.path.endsWith(".sqd")) - CacheManager.remove(local.path) + CacheManager.getInstance().remove(local.path) console.logDebug("err " + err) delete sync.db[local.path]; sync.store.set("nextcloud_db", JSON.stringify(sync.db)); |