mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Remove some references to deprecated functions/methods.
This commit is contained in:
@@ -36,7 +36,7 @@ if (isset($_POST['update_settings']))
|
||||
$userData['data']['user_password'] = $sql->escape($userMethods->HashPassword($_POST['a_password'], $currentUser['user_loginname']), FALSE);
|
||||
unset($_POST['a_password']);
|
||||
unset($_POST['a_password2']);
|
||||
if (varsettrue($pref['allowEmailLogin']))
|
||||
if (vartrue($pref['allowEmailLogin']))
|
||||
{
|
||||
$user_prefs = e107::getArrayStorage()->unserialize($currentUser['user_prefs']);
|
||||
$user_prefs['email_password'] = $userMethods->HashPassword($new_pass, $email);
|
||||
|
Reference in New Issue
Block a user