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'),
|
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