]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/noticesearchrss.php
Update favorited for new layout and framework
[quix0rs-gnu-social.git] / actions / noticesearchrss.php
index a7df62ca025e89fd1fddb9db3e5d85e4e7abb9b7..20fe0ff2abddfe337ef78b00d7028e6dbecb98a5 100644 (file)
@@ -23,13 +23,16 @@ require_once(INSTALLDIR.'/lib/rssaction.php');
 
 // Formatting of RSS handled by Rss10Action
 
-class NoticesearchrssAction extends Rss10Action {
+class NoticesearchrssAction extends Rss10Action
+{
 
-    function init() {
+    function init()
+    {
         return true;
     }
 
-    function get_notices($limit=0) {
+    function get_notices($limit=0)
+    {
 
         $q = $this->trimmed('q');
         $notices = array();
@@ -54,7 +57,8 @@ class NoticesearchrssAction extends Rss10Action {
         return $notices;
     }
 
-    function get_channel() {
+    function get_channel()
+    {
         global $config;
         $q = $this->trimmed('q');
         $c = array('url' => common_local_url('noticesearchrss', array('q' => $q)),
@@ -64,7 +68,8 @@ class NoticesearchrssAction extends Rss10Action {
         return $c;
     }
 
-    function get_image() {
-        return NULL;
+    function get_image()
+    {
+        return null;
     }
 }