Removed and replaced deprecated functionalities

This commit is contained in:
Michael 2021-11-07 14:00:47 +00:00
parent cfac13790b
commit eb1b2256a0
12 changed files with 29 additions and 230 deletions

View file

@ -499,26 +499,6 @@ class User
return $default_group;
}
/**
* Authenticate a user with a clear text password
*
* @param mixed $user_info
* @param string $password
* @param bool $third_party
* @return int|boolean
* @deprecated since version 3.6
* @see User::getIdFromPasswordAuthentication()
*/
public static function authenticate($user_info, $password, $third_party = false)
{
try {
return self::getIdFromPasswordAuthentication($user_info, $password, $third_party);
} catch (Exception $ex) {
return false;
}
}
/**
* Authenticate a user with a clear text password
*