mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-27 02:47:31 +09:00
Remove MOZ_B2G leftovers and some dead B2G-only components.
This commit is contained in:
parent
75d98fd33e
commit
719ac1bc38
91 changed files with 28 additions and 5017 deletions
|
|
@ -35,18 +35,11 @@ var log = Log.repository.getLogger("Identity.FxAccounts");
|
|||
log.level = LOG_LEVEL;
|
||||
log.addAppender(new Log.ConsoleAppender(new Log.BasicFormatter()));
|
||||
|
||||
#ifdef MOZ_B2G
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "FxAccountsManager",
|
||||
"resource://gre/modules/FxAccountsManager.jsm",
|
||||
"FxAccountsManager");
|
||||
Cu.import("resource://gre/modules/FxAccountsCommon.js");
|
||||
#else
|
||||
log.warn("The FxAccountsManager is only functional in B2G at this time.");
|
||||
log.warn("The FxAccountsManager has been removed.");
|
||||
var FxAccountsManager = null;
|
||||
var ONVERIFIED_NOTIFICATION = null;
|
||||
var ONLOGIN_NOTIFICATION = null;
|
||||
var ONLOGOUT_NOTIFICATION = null;
|
||||
#endif
|
||||
|
||||
function FxAccountsService() {
|
||||
Services.obs.addObserver(this, "quit-application-granted", false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue