]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/public.php
Actually use the PrimaryNoticeList in actions
[quix0rs-gnu-social.git] / actions / public.php
index 5e07a893ff645239ee4de3c0ccff7ff9d9a8c3df..6ebd48ba12cdd5e6a7d5652dbc81aa15868c383a 100644 (file)
@@ -220,7 +220,7 @@ class PublicAction extends Action
         $user = common_current_user();
 
         if (!empty($user) && $user->streamModeOnly()) {
-            $nl = new NoticeList($this->notice, $this);
+            $nl = new PrimaryNoticeList($this->notice, $this, array('show_n'=>NOTICES_PER_PAGE));
         } else {
             $nl = new ThreadedNoticeList($this->notice, $this, $this->userProfile);
         }