зеркало из https://github.com/mozilla/pjs.git
Bug 661972 - don't call Service.sync() with ancient fullSync param. r=philiKON
This commit is contained in:
Родитель
a103f91025
Коммит
7a26925bed
|
@ -591,7 +591,7 @@ WeaveSvc.prototype = {
|
||||||
this._log.trace("Idle time hit, trying to sync");
|
this._log.trace("Idle time hit, trying to sync");
|
||||||
Svc.Idle.removeIdleObserver(this, this._idleTime);
|
Svc.Idle.removeIdleObserver(this, this._idleTime);
|
||||||
this._idleTime = 0;
|
this._idleTime = 0;
|
||||||
Utils.delay(function() this.sync(false), 0, this);
|
Utils.delay(function() this.sync(), 0, this);
|
||||||
break;
|
break;
|
||||||
case "nsPref:changed":
|
case "nsPref:changed":
|
||||||
if (this._ignorePrefObserver)
|
if (this._ignorePrefObserver)
|
||||||
|
@ -1045,7 +1045,7 @@ WeaveSvc.prototype = {
|
||||||
CollectionKeys.clear();
|
CollectionKeys.clear();
|
||||||
|
|
||||||
/* Login and sync. This also generates new keys. */
|
/* Login and sync. This also generates new keys. */
|
||||||
this.sync(true);
|
this.sync();
|
||||||
return true;
|
return true;
|
||||||
}))(),
|
}))(),
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче