mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-18 23:15:38 +00:00
Bug 638818 - Dont clear sync if its not configured. r=mbrubeck, a=mfinkle]
This commit is contained in:
parent
2a0efdee5a
commit
e6a4c847b1
@ -290,8 +290,7 @@ Sanitizer.prototype = {
|
||||
|
||||
get canClear()
|
||||
{
|
||||
let autoconnect = Services.prefs.getBoolPref("services.sync.autoconnect");
|
||||
return autoconnect || Weave.Service.isLoggedIn;
|
||||
return (Weave.Status.checkSetup() != Weave.CLIENT_NOT_CONFIGURED);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user