Commit b6ff48e8 authored by drumm's avatar drumm

#61992 by chx (modified), Provide an 'after_update' op on hook_user.

parent 93082640
......@@ -152,6 +152,7 @@ function user_save($account, $array = array(), $category = 'account') {
// Refresh user object
$user = user_load(array('uid' => $account->uid));
user_module_invoke('after_update', $array, $user, $category);
}
else {
$array['created'] = time();
......
......@@ -152,6 +152,7 @@ function user_save($account, $array = array(), $category = 'account') {
// Refresh user object
$user = user_load(array('uid' => $account->uid));
user_module_invoke('after_update', $array, $user, $category);
}
else {
$array['created'] = time();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment