Compare commits

..

2 commits

View file

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