Remove useless check for crypto methods

This commit is contained in:
Anant Narayanan 2009-07-23 17:12:32 -07:00
Родитель 2404b54528
Коммит 38c74f2d92
1 изменённых файлов: 13 добавлений и 15 удалений

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

@ -529,7 +529,6 @@ WeaveSvc.prototype = {
verifyPassphrase: function WeaveSvc_verifyPassphrase(username, password, passphrase)
this._catch(this._notify("verify-passphrase", "", function() {
if ('verifyPassphrase' in Svc.Crypto) {
this._log.debug("Verifying passphrase");
this.username = username;
ID.get("WeaveID").setTempPassword(password);
@ -545,7 +544,6 @@ WeaveSvc.prototype = {
// this means no keys are present (or there's a network error)
return true;
}
}
return true;
}))(),