]> 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)
committerZach Copley <zach@controlyourself.ca>
Sat, 8 Aug 2009 00:56:01 +0000 (00:56 +0000)
e.g.
TagrssAction
 or
PublicrssAction

lib/rssaction.php

index 7686d064608d453f3bc1d5555a346f925119a90a..3b9f0fb4747bb1579a0dab00e553e8df6cd48c54 100644 (file)
@@ -97,11 +97,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();
     }