diff --git a/file/lib/page/ChatPage.class.php b/file/lib/page/ChatPage.class.php index 0023607..37e7c48 100644 --- a/file/lib/page/ChatPage.class.php +++ b/file/lib/page/ChatPage.class.php @@ -87,18 +87,10 @@ public function readData() { $this->newestMessages = chat\message\ChatMessageList::getNewestMessages($this->room, CHAT_LASTMESSAGES); \wcf\util\ChatUtil::writeUserData(array('lastSeen' => end($this->newestMessages)->messageID)); - $this->readDefaultSmileys(); + $this->smilies = \wcf\data\smiley\SmileyCache::getInstance()->getCategorySmilies(); $this->readChatVersion(); } - /** - * Reads the smilies in the default category. - */ - public function readDefaultSmileys() { - $smilies = \wcf\data\smiley\SmileyCache::getInstance()->getSmilies(); - $this->smilies = $smilies[null]; - } - /** * @see \wcf\page\IPage::readParameters() */