1
0
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:
Tim Düsterhus 2014-12-02 18:17:13 +01:00
commit 63adcd13d3

View File

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