Skip to content

Commit 4af486c

Browse files
authored
Fixed user not being added to sorted_users cache
1 parent 376824c commit 4af486c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

resources/lib/UnityUser.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@ public function init($send_mail = true)
106106
if (!$orgEntry->inOrg($this->uid)) {
107107
$orgEntry->addUser($this);
108108
}
109+
110+
// add user to cache
111+
$this->REDIS->appendCacheArray("sorted_users", "", $this->getUID());
109112

110113
//
111114
// send email to user

0 commit comments

Comments
 (0)