Compare commits

..

2 commits

View file

@ -151,10 +151,8 @@ class User {
array($this -> backend, 'update_user'),
$this -> original_user, $changes, true
);
if ($result) {
unset($this -> original_user);
if ($result)
Hook::trigger("user_updated", ["user" => $this, "changes" => $changes]);
}
return $result;
}