mirror of
https://github.com/e107inc/e107.git
synced 2025-04-16 10:32:08 +02:00
Remove old way to store user preferences sytem-wide
This commit is contained in:
parent
08fa4d098c
commit
ba633fd341
@ -38,9 +38,9 @@ if (isset($_POST['update_settings']))
|
||||
unset($_POST['a_password2']);
|
||||
if (varsettrue($pref['allowEmailLogin']))
|
||||
{
|
||||
$user_prefs = unserialize($currentUser['user_prefs']);
|
||||
$user_prefs = e107::getArrayStorage()->unserialize($currentUser['user_prefs']);
|
||||
$user_prefs['email_password'] = $userMethods->HashPassword($new_pass, $email);
|
||||
$userData['data']['user_prefs'] = serialize($user_prefs);
|
||||
$userData['data']['user_prefs'] = e107::getArrayStorage()->serialize($user_prefs);
|
||||
}
|
||||
|
||||
$userData['data']['user_pwchange'] = time();
|
||||
|
Loading…
x
Reference in New Issue
Block a user