Compare commits
2 commits
d8c47aebb0
...
11b67c53b3
Author | SHA1 | Date | |
---|---|---|---|
|
11b67c53b3 | ||
|
89e29b8add |
1 changed files with 3 additions and 1 deletions
|
@ -151,8 +151,10 @@ class User {
|
||||||
array($this -> backend, 'update_user'),
|
array($this -> backend, 'update_user'),
|
||||||
$this -> original_user, $changes, true
|
$this -> original_user, $changes, true
|
||||||
);
|
);
|
||||||
if ($result)
|
if ($result) {
|
||||||
|
unset($this -> original_user);
|
||||||
Hook::trigger("user_updated", ["user" => $this, "changes" => $changes]);
|
Hook::trigger("user_updated", ["user" => $this, "changes" => $changes]);
|
||||||
|
}
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue