mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 480381 - "lastsync" pref is sometimes a number and sometimes a string
This commit is contained in:
parent
b8a8dd5c93
commit
fe2b72924b
@ -697,8 +697,7 @@ WeaveSvc.prototype = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!this._syncError) {
|
if (!this._syncError) {
|
||||||
Svc.Prefs.reset("lastsync");
|
Svc.Prefs.set("lastSync", new Date().toString());
|
||||||
Svc.Prefs.set("lastsync", new Date().toString());
|
|
||||||
this._log.info("Sync completed successfully");
|
this._log.info("Sync completed successfully");
|
||||||
} else
|
} else
|
||||||
this._log.warn("Some engines did not sync correctly");
|
this._log.warn("Some engines did not sync correctly");
|
||||||
@ -775,8 +774,7 @@ WeaveSvc.prototype = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!this._syncError) {
|
if (!this._syncError) {
|
||||||
Svc.Prefs.reset("lastsync");
|
Svc.Prefs.set("lastSync", new Date().toString());
|
||||||
Svc.Prefs.set("lastsync", Date.now());
|
|
||||||
this._log.info("Sync completed successfully");
|
this._log.info("Sync completed successfully");
|
||||||
} else
|
} else
|
||||||
this._log.warn("Some engines did not sync correctly");
|
this._log.warn("Some engines did not sync correctly");
|
||||||
|
Loading…
Reference in New Issue
Block a user