1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-10-31 14:10:08 +00:00

Fix method call to getGroupIDs in PermissionHandler

This commit is contained in:
Tim Düsterhus 2013-02-17 00:04:32 +01:00
parent e93ac99ea7
commit ecb1d16394

View File

@ -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) {