From 10509645da5fd972d0161522b8676afe02a67fdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Sat, 3 Dec 2011 17:38:28 +0100 Subject: [PATCH] Again removed the topic-message Fail. --- file/lib/page/ChatPage.class.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/file/lib/page/ChatPage.class.php b/file/lib/page/ChatPage.class.php index d1c77ff..3a70896 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();