bugs 42475, 42550, and 42436 r=dveditz

This commit is contained in:
morse%netscape.com 2000-06-16 12:51:14 +00:00
Родитель 27238649cc
Коммит c94f5a6d70
1 изменённых файлов: 0 добавлений и 22 удалений

Просмотреть файл

@ -60,28 +60,6 @@
wallet.WALLET_ChangePassword();
}
function convertStoredValues(encrypt)
{
try {
this.pref = Components.classes["component://netscape/preferences"].getService();
if(this.pref)
this.pref = this.pref.QueryInterface( Components.interfaces.nsIPref );
}
catch(e) {
dump("*** Failed to create prefs object\n");
return;
}
var oldpref = this.pref.GetBoolPref("wallet.crypto");
this.pref.SetBoolPref("wallet.crypto", encrypt);
dump("\n##### pref="+ this.pref.GetBoolPref("wallet.crypto")+"\n");
wallet = Components.classes['component://netscape/wallet'];
wallet = wallet.getService();
wallet = wallet.QueryInterface(Components.interfaces.nsIWalletService);
wallet.WALLET_ReencryptAll();
this.pref.SetBoolPref("wallet.crypto", oldpref);
}
]]>
</script>