mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10:08 +00:00
Merge branch '3.0.x'
This commit is contained in:
commit
63adcd13d3
@ -38,6 +38,9 @@ public function init(\wcf\data\dashboard\box\DashboardBox $box, \wcf\page\IPage
|
||||
* @see wcf\system\dashboard\box\AbstractContentDashboardBox::render()
|
||||
*/
|
||||
protected function render() {
|
||||
if (!MODULE_CHAT) return false;
|
||||
if (!\wcf\system\WCF::getUser()->userID) return false;
|
||||
|
||||
\wcf\system\WCF::getTPL()->assign(array(
|
||||
'rooms' => $this->rooms
|
||||
));
|
||||
|
Loading…
Reference in New Issue
Block a user