]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/public.php
Changed @id to @class for notices ul
[quix0rs-gnu-social.git] / actions / public.php
index b13678bf0cbb9b89423d395368468b3525de7da4..0ceeef98e8c1cf4f5e5e5a25f46d8733ad1cfd7a 100644 (file)
@@ -32,6 +32,8 @@ if (!defined('LACONICA')) {
 }
 
 require_once INSTALLDIR.'/lib/publicgroupnav.php';
+require_once INSTALLDIR.'/lib/noticelist.php';
+require_once INSTALLDIR.'/lib/feedlist.php';
 
 /**
  * Action for displaying the public stream
@@ -163,11 +165,11 @@ 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;
         }
 
-        $nl = new NoticeList($notice);
+        $nl = new NoticeList($notice, $this);
 
         $cnt = $nl->show();