Compare commits
2 commits
11b67c53b3
...
d8c47aebb0
Author | SHA1 | Date | |
---|---|---|---|
|
d8c47aebb0 | ||
|
4f1deefa09 |
1 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue