diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2013-01-30 00:16:37 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2013-01-30 00:16:37 +0100 |
commit | 0067ac6ca6389b61917cd7a19e7772e68ea78e8a (patch) | |
tree | 49596063062d3b89c0db441284104d2835fec7d0 /settings/ajax | |
parent | 250c565d2be9ebd7033c43c3362a44c58964c79b (diff) | |
download | nextcloud-server-0067ac6ca6389b61917cd7a19e7772e68ea78e8a.tar.gz nextcloud-server-0067ac6ca6389b61917cd7a19e7772e68ea78e8a.zip |
Remove the no longer existing function "isUserVerified"
Thx @eMerzh
Diffstat (limited to 'settings/ajax')
-rw-r--r-- | settings/ajax/changepassword.php | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/settings/ajax/changepassword.php b/settings/ajax/changepassword.php index 8d45e62e4d8..f6fa38fd9ba 100644 --- a/settings/ajax/changepassword.php +++ b/settings/ajax/changepassword.php @@ -15,14 +15,8 @@ if(OC_User::isAdminUser(OC_User::getUser())) { if(OC_SubAdmin::isUserAccessible(OC_User::getUser(), $username)) { $userstatus = 'subadmin'; } -if(OC_User::getUser() === $username) { - if (OC_User::checkPassword($username, $oldPassword)) { +if(OC_User::getUser() === $username && OC_User::checkPassword($username, $oldPassword)) { $userstatus = 'user'; - } else { - if (!OC_Util::isUserVerified()) { - $userstatus = null; - } - } } if(is_null($userstatus)) { |