Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/PhieF/CarnetElectron.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorPhie <phie@phie.ovh>2019-05-29 21:57:53 +0300
committerPhie <phie@phie.ovh>2019-05-29 21:57:53 +0300
commit8a69ec7c98fac4ab090ca536ea664be948fa0cf5 (patch)
treec6308875d821ca95c79681608f71372b7fc7a2eb /server
parent12703a964b8be6b5556f8d198ad13f902d563e37 (diff)
fix remove from cache manager
Diffstat (limited to 'server')
-rw-r--r--server/sync/sync.js2
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));