]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/public.php
Extract image management code to a helper function
[quix0rs-gnu-social.git] / actions / public.php
index 5a11cece18d50e50c3e88356bbbb61ede259d9c3..0ceeef98e8c1cf4f5e5e5a25f46d8733ad1cfd7a 100644 (file)
@@ -165,7 +165,7 @@ class PublicAction extends Action
                                        NOTICES_PER_PAGE + 1);
 
         if (!$notice) {
-            $this->server_error(_('Could not retrieve public stream.'));
+            $this->serverError(_('Could not retrieve public stream.'));
             return;
         }
 
@@ -187,7 +187,6 @@ class PublicAction extends Action
 
     function showExportData()
     {
-       $this->elementStart('div', array('id' => 'exportdata', 'class' => 'section'));
         $fl = new FeedList($this);
         $fl->show(array(0 => array('href' => common_local_url('publicrss'),
                                    'type' => 'rss',
@@ -197,6 +196,5 @@ class PublicAction extends Action
                                    'type' => 'atom',
                                    'version' => 'Atom 1.0',
                                    'item' => 'publicatom')));
-       $this->elementEnd('div');
     }
 }