From 90593898d4f46e6c08323095439e37fe21bdb176 Mon Sep 17 00:00:00 2001 From: Jens Hatlak Date: Fri, 29 Jul 2011 22:47:57 +0200 Subject: [PATCH] Bug 675263 - Port |Bug 668622 - Move sync at startup logic (autoConnect, etc.) to SyncScheduler|. r=Neil --- suite/common/src/nsSuiteGlue.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/suite/common/src/nsSuiteGlue.js b/suite/common/src/nsSuiteGlue.js index e551b332f7..9c69b2f191 100644 --- a/suite/common/src/nsSuiteGlue.js +++ b/suite/common/src/nsSuiteGlue.js @@ -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