Remove the no longer existing function "isUserVerified"

Thx @eMerzh
This commit is contained in:
Lukas Reschke 2013-01-30 00:16:37 +01:00
parent 250c565d2b
commit 0067ac6ca6
1 changed files with 1 additions and 7 deletions

View File

@ -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)) {