mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
Trigger event with updated profile data.
This commit is contained in:
parent
3fa89bc13a
commit
77bcd16569
@ -1760,7 +1760,8 @@ class e_user extends e_user_model
|
||||
|
||||
if($sql->update('user', $updateQry) !==false)
|
||||
{
|
||||
e107::getEvent()->trigger('user_xup_profile_updated', $userdata);
|
||||
$updatedProfile = array_replace($user, $userdata);
|
||||
e107::getEvent()->trigger('user_xup_profile_updated', $updatedProfile);
|
||||
e107::getLog()->add('User Profile Updated', $userdata, E_LOG_INFORMATIVE, "XUP_LOGIN", LOG_TO_ADMIN, array('user_id'=>$user['user_id'],'user_name'=>$user['user_name']));
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user