]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Call $this->getNotices() always, becuase $this will be the right class.
authorBrenda Wallace <shiny@cpan.org>
Thu, 23 Jul 2009 09:46:20 +0000 (21:46 +1200)
committerBrenda Wallace <shiny@cpan.org>
Thu, 23 Jul 2009 09:46:20 +0000 (21:46 +1200)
e.g.
TagrssAction
 or
PublicrssAction

lib/rssaction.php

index 9898894edd678e8fafd6a09c7d829cb2073672d2..23653e4062b73bc0e3d8281307b630682e055ddf 100644 (file)
@@ -98,11 +98,7 @@ class Rss10Action extends Action
         // Parent handling, including cache check
         parent::handle($args);
         // Get the list of notices
-        if (empty($this->tag)) {
-            $this->notices = $this->getNotices($this->limit);
-        } else {
-            $this->notices = $this->getTaggedNotices($this->tag, $this->limit);
-        }
+        $this->notices = $this->getNotices($this->limit);
         $this->showRss();
     }