diff --git a/file/lib/page/ChatPage.class.php b/file/lib/page/ChatPage.class.php index 1c65d44..13e3e84 100644 --- a/file/lib/page/ChatPage.class.php +++ b/file/lib/page/ChatPage.class.php @@ -77,15 +77,6 @@ public function readData() { 'color1' => $this->userData['color'][1], 'color2' => $this->userData['color'][2] )); - if ($this->room->topic != '') { - chat\message\ChatMessageEditor::create(array( - 'roomID' => $this->room->roomID, - 'sender' => WCF::getUser()->userID, - 'time' => TIME_NOW, - 'type' => chat\message\ChatMessage::TYPE_INFORMATION, - 'message' => WCF::getLanguage()->getDynamicVariable($this->room->topic) - )); - } $this->readDefaultSmileys(); $this->readChatVersion();