/** * @see \wcf\form\IPage::readParameters() */ public function readParameters() { parent::readParameters(); if (isset($_REQUEST['id'])) { $this->conversationID = intval($_REQUEST['id']); } $this->conversation = Conversation::getUserConversation($this->conversationID, WCF::getUser()->userID); if ($this->conversation === null) { throw new IllegalLinkException(); } if (!$this->conversation->canRead() || $this->conversation->isClosed) { throw new PermissionDeniedException(); } // quotes MessageQuoteManager::getInstance()->readParameters(); }