mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
Fix method call to getGroupIDs in PermissionHandler
This commit is contained in:
parent
e93ac99ea7
commit
ecb1d16394
@ -34,7 +34,7 @@ public function __construct(\wcf\data\user\User $user = null) {
|
|||||||
$ush = \wcf\system\user\storage\UserStorageHandler::getInstance();
|
$ush = \wcf\system\user\storage\UserStorageHandler::getInstance();
|
||||||
|
|
||||||
// get groups permissions
|
// get groups permissions
|
||||||
$this->chatPermissions = \chat\system\cache\builder\PermissionCacheBuilder::getInstance()->getData($user->getGroupIDs);
|
$this->chatPermissions = \chat\system\cache\builder\PermissionCacheBuilder::getInstance()->getData($user->getGroupIDs());
|
||||||
|
|
||||||
// get user permissions
|
// get user permissions
|
||||||
if ($user->userID) {
|
if ($user->userID) {
|
||||||
|
Loading…
Reference in New Issue
Block a user