Skip to content

Commit

Permalink
Moron
Browse files Browse the repository at this point in the history
  • Loading branch information
kohler committed Nov 25, 2024
1 parent 432a184 commit 0e100a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/userstatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -908,12 +908,12 @@ function save_user($cj, $old_user = null) {
$this->jval = $cj;
$this->diffs = [];
$this->created = $this->notified = false;
$this->save_update($old_user);
return $this->save_update($old_user);
}

/** @param ?Contact $old_user
* @return ?Contact */
function save_update($cj, $old_user = null) {
function save_update($old_user = null) {
assert(is_object($this->jval));
assert(!$old_user || (!$this->no_create && !$this->no_modify));
$cj = $this->jval;
Expand Down

0 comments on commit 0e100a5

Please sign in to comment.