Bug 638818 - Dont clear sync if its not configured. r=mbrubeck, a=mfinkle]

This commit is contained in:
Wes Johnston 2011-03-08 13:06:54 -08:00
parent 2a0efdee5a
commit e6a4c847b1

View File

@ -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);
}
}
}