Bug 675263 - Port |Bug 668622 - Move sync at startup logic (autoConnect, etc.) to SyncScheduler|. r=Neil
This commit is contained in:
Родитель
6327dbc380
Коммит
90593898d4
|
@ -96,9 +96,8 @@ SuiteGlue.prototype = {
|
|||
}
|
||||
delay = delay <= MAX_DELAY ? delay : MAX_DELAY;
|
||||
|
||||
let syncTemp = {};
|
||||
Components.utils.import("resource://services-sync/service.js", syncTemp);
|
||||
syncTemp.Weave.Service.delayedAutoConnect(delay);
|
||||
Components.utils.import("resource://services-sync/main.js");
|
||||
Weave.SyncScheduler.delayedAutoConnect(delay);
|
||||
},
|
||||
|
||||
// nsIObserver implementation
|
||||
|
|
Загрузка…
Ссылка в новой задаче