Skip to content

Commit

Permalink
Fixed user not being added to sorted_users cache
Browse files Browse the repository at this point in the history
  • Loading branch information
hakasapl authored Mar 28, 2023
1 parent 376824c commit 4af486c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions resources/lib/UnityUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ public function init($send_mail = true)
if (!$orgEntry->inOrg($this->uid)) {
$orgEntry->addUser($this);
}

// add user to cache
$this->REDIS->appendCacheArray("sorted_users", "", $this->getUID());

//
// send email to user
Expand Down

0 comments on commit 4af486c

Please sign in to comment.