Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
Fix #2370, unset deviceId pref set by old addon
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredhirsch committed Mar 17, 2017
1 parent d384feb commit c020dcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function handleMessage(msg, sender, sendReply) {
sendReply({type: "success", value: oldDeviceInfo || null});
} else if (msg && msg.funcName === "removeOldAddon") {
AddonManager.getAddonByID(OLD_ADDON_ID, (addon) => {
// FIXME: remove OLD_ADDON_PREF_NAME, see #2370
prefs.clearUserPref(OLD_ADDON_PREF_NAME);
if (addon) {
addon.uninstall();
}
Expand Down

0 comments on commit c020dcc

Please sign in to comment.