Bug 1017931 - allow about:accounts to be used even if legacy sync is configured. r=adw

This commit is contained in:
Mark Hammond 2014-11-24 12:31:10 +11:00
parent 9bb41734f6
commit 38ba4f9318

View File

@ -99,16 +99,6 @@ let wrapper = {
iframe: null,
init: function (url, urlParams) {
let weave = Cc["@mozilla.org/weave/service;1"]
.getService(Ci.nsISupports)
.wrappedJSObject;
// Don't show about:accounts with FxA disabled.
if (!weave.fxAccountsEnabled) {
document.body.remove();
return;
}
// If a master-password is enabled, we want to encourage the user to
// unlock it. Things still work if not, but the user will probably need
// to re-auth next startup (in which case we will get here again and