Issue #1208: Remove services.sync.enabled pref.

Sync will not do anything unless specifically set up to do so and at
least one engine is enabled, so there's no need for this "master switch"
to force it disabled based on engines being disabled (which was its
previous function to shortcut syncing in that situation).
This commit is contained in:
wolfbeast 2019-08-15 09:58:13 +02:00 committed by Roy Tam
commit efd576e045
3 changed files with 3 additions and 24 deletions

View file

@ -183,7 +183,7 @@ add_test(function test_login_on_sync() {
// This test exercises these two branches.
_("We're ready to sync if locked.");
Svc.Prefs.set("enabled", true);
Service.enabled = true;
Services.io.offline = false;
Service.scheduler.checkSyncStatus();
do_check_true(scheduleCalled);