mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40: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