Make use of the new API for the conversation feed (#192)
[GitHub/WoltLab/com.woltlab.wcf.conversation.git] / files / lib / page / ConversationFeedPage.class.php
index 3a0956a17476b81416c453703f06fa33cf7c70f1..ed5798480c748c76a46341e309a9b3ceb2cf2474 100644 (file)
@@ -11,6 +11,7 @@ use wcf\system\WCF;
  * @author  Alexander Ebert
  * @copyright   2001-2019 WoltLab GmbH
  * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
+ * @deprecated 6.1 use `ConversationRssFeedPage` instead
  */
 class ConversationFeedPage extends AbstractFeedPage
 {
@@ -19,6 +20,16 @@ class ConversationFeedPage extends AbstractFeedPage
      */
     public $loginRequired = true;
 
+    /**
+     * @inheritDoc
+     */
+    public function readParameters()
+    {
+        parent::readParameters();
+
+        $this->redirectToNewPage(ConversationRssFeedPage::class);
+    }
+
     /**
      * @inheritDoc
      */