diff --git a/chrome/content/zotero/xpcom/storage/zfs.js b/chrome/content/zotero/xpcom/storage/zfs.js index 7ec6513a9..fa3a30321 100644 --- a/chrome/content/zotero/xpcom/storage/zfs.js +++ b/chrome/content/zotero/xpcom/storage/zfs.js @@ -1044,7 +1044,7 @@ Zotero.Sync.Storage.ZFS = (function () { obj._purgeDeletedStorageFiles = function () { return Q.fcall(function () { // Cache the credentials at the root - return self._cacheCredentials(); + return this._cacheCredentials(); }.bind(this)) then(function () { // If we don't have a user id we've never synced and don't need to bother