Fix purgeDeletedStorageFiles() (from 5442e2e8)

This commit is contained in:
Dan Stillman 2013-04-16 00:15:54 -04:00
parent ff5353fec1
commit c185ffc728

View file

@ -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