From 80ae9779f8284141251af0854a5deb2bd2fac468 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Thu, 19 Apr 2012 20:24:16 +0300 Subject: [PATCH] Clear cache when creating a temproom. Fixes #8 --- file/lib/system/chat/command/commands/Temproom.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/file/lib/system/chat/command/commands/Temproom.class.php b/file/lib/system/chat/command/commands/Temproom.class.php index 91aa2e5..290503a 100644 --- a/file/lib/system/chat/command/commands/Temproom.class.php +++ b/file/lib/system/chat/command/commands/Temproom.class.php @@ -51,6 +51,7 @@ public function __construct(\wcf\system\chat\command\CommandHandler $commandHand ); \wcf\system\acl\ACLHandler::getInstance()->save($roomID, \wcf\system\acl\ACLHandler::getInstance()->getObjectTypeID('be.bastelstu.wcf.chat.room')); + \wcf\system\chat\permission\ChatPermissionHandler::clearCache(); $this->didInit(); }