1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-19 20:07:58 +01:00

Remove disable-acr module.

This commit is contained in:
Kris Maglione
2014-02-19 00:59:33 -08:00
parent b63e3128fa
commit 7af27cd15b
2 changed files with 0 additions and 92 deletions

16
common/bootstrap.js vendored
View File

@@ -252,22 +252,13 @@ function init() {
}
bootstrap.require = JSMLoader.load("base").require;
// Flush the cache if necessary, just to be paranoid
let pref = "extensions.dactyl.cacheFlushCheck";
let val = addon.version;
if (!Services.prefs.prefHasUserValue(pref) || Services.prefs.getCharPref(pref) != val) {
var cacheFlush = true;
Services.obs.notifyObservers(null, "startupcache-invalidate", "");
Services.prefs.setCharPref(pref, val);
}
try {
//JSMLoader.load("disable-acr").init(addon.id);
}
catch (e) {
reportError(e);
}
Services.obs.notifyObservers(null, "dactyl-rehash", null);
JSMLoader.bootstrap = global;
@@ -408,13 +399,6 @@ function shutdown(data, reason) {
debug("bootstrap: shutdown " + strReason);
if (reason != APP_SHUTDOWN) {
try {
//JSMLoader.load("disable-acr").cleanup(addon.id);
}
catch (e) {
reportError(e);
}
if (~[ADDON_UPGRADE, ADDON_DOWNGRADE, ADDON_UNINSTALL].indexOf(reason))
Services.obs.notifyObservers(null, "dactyl-purge", null);