浏览代码

Update Feed page

Visman 3 年之前
父节点
当前提交
89750c800b
共有 1 个文件被更改,包括 2 次插入4 次删除
  1. 2 4
      app/Models/Pages/Feed.php

+ 2 - 4
app/Models/Pages/Feed.php

@@ -30,8 +30,7 @@ class Feed extends Page
         $this->nameTpl      = 'layouts/plain';
         $this->httpStatus   = \max(200, $status);
         $this->onlinePos    = 'feed';
-        $this->onlineDetail = false;
-        $this->onlineFilter = false;
+        $this->onlineDetail = null;
 
         $this->header('Content-type', 'text/plain; charset=utf-8');
 
@@ -148,8 +147,7 @@ class Feed extends Page
 
         $this->nameTpl      = "feed_{$args['type']}";
         $this->onlinePos    = 'feed';
-        $this->onlineDetail = false;
-        $this->onlineFilter = false;
+        $this->onlineDetail = null;
         $this->feed         = $feed;
 
         $this->header('Content-type', "application/{$args['type']}+xml; charset=utf-8");