Removed call to depreciated isUserVerified()

This commit is contained in:
Sam Tuke 2013-02-06 16:01:43 +00:00
parent a3289d3991
commit a8c0e3612c
1 changed files with 1 additions and 3 deletions

View File

@ -19,9 +19,7 @@ if(OC_User::getUser() === $username) {
if (OC_User::checkPassword($username, $oldPassword)) { if (OC_User::checkPassword($username, $oldPassword)) {
$userstatus = 'user'; $userstatus = 'user';
} else { } else {
if (!OC_Util::isUserVerified()) { $userstatus = null;
$userstatus = null;
}
} }
} }