Bug 661972 - don't call Service.sync() with ancient fullSync param. r=philiKON

This commit is contained in:
Richard Newman 2011-06-06 07:49:13 -07:00
parent e98d10f115
commit 1645a088fe

View File

@ -591,7 +591,7 @@ WeaveSvc.prototype = {
this._log.trace("Idle time hit, trying to sync");
Svc.Idle.removeIdleObserver(this, this._idleTime);
this._idleTime = 0;
Utils.delay(function() this.sync(false), 0, this);
Utils.delay(function() this.sync(), 0, this);
break;
case "nsPref:changed":
if (this._ignorePrefObserver)
@ -1045,7 +1045,7 @@ WeaveSvc.prototype = {
CollectionKeys.clear();
/* Login and sync. This also generates new keys. */
this.sync(true);
this.sync();
return true;
}))(),