]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - _darcs/pristine/actions/publicrss.php
replace all tabs with four spaces
[quix0rs-gnu-social.git] / _darcs / pristine / actions / publicrss.php
index 1ab6a8be06aa4214397ce5844a5d536e23fed535..fa86de1d96edaaa8167f59676effaf109bd63d1e 100644 (file)
@@ -25,33 +25,33 @@ require_once(INSTALLDIR.'/lib/rssaction.php');
 
 class PublicrssAction extends Rss10Action {
 
-       function init() {
-               return true;
-       }
-
-       function get_notices($limit=0) {
-               
-               $notices = array();
-               
-               $notice = Notice::publicStream(0, ($limit == 0) ? 48 : $limit);
-               
-               while ($notice->fetch()) {
-                       $notices[] = clone($notice);
-               }
-               
-               return $notices;
-       }
-
-       function get_channel() {
-               global $config;
-               $c = array('url' => common_local_url('publicrss'),
-                                  'title' => sprintf(_('%s Public Stream'), $config['site']['name']),
-                                  'link' => common_local_url('public'),
-                                  'description' => sprintf(_('All updates for %s'), $config['site']['name']));
-               return $c;
-       }
-
-       function get_image() {
-               return NULL;
-       }
+    function init() {
+        return true;
+    }
+
+    function get_notices($limit=0) {
+        
+        $notices = array();
+        
+        $notice = Notice::publicStream(0, ($limit == 0) ? 48 : $limit);
+        
+        while ($notice->fetch()) {
+            $notices[] = clone($notice);
+        }
+        
+        return $notices;
+    }
+
+    function get_channel() {
+        global $config;
+        $c = array('url' => common_local_url('publicrss'),
+                   'title' => sprintf(_('%s Public Stream'), $config['site']['name']),
+                   'link' => common_local_url('public'),
+                   'description' => sprintf(_('All updates for %s'), $config['site']['name']));
+        return $c;
+    }
+
+    function get_image() {
+        return NULL;
+    }
 }
\ No newline at end of file