X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fshowgroup.php;h=46d0a227f536ecc4253212e6b55cb5fe2ba71d1b;hb=bdd15cfe6340df9fd387e817352bea5f16655d0a;hp=10601e58b4e95192ebe1356dc8912e2114d6d00b;hpb=f79aec36feaa4760201a7e88d5b31513a3c458ba;p=quix0rs-gnu-social.git diff --git a/actions/showgroup.php b/actions/showgroup.php index 10601e58b4..46d0a227f5 100644 --- a/actions/showgroup.php +++ b/actions/showgroup.php @@ -91,7 +91,7 @@ class ShowgroupAction extends GroupAction * * @return boolean success flag */ - function prepare($args) + protected function prepare(array $args=array()) { parent::prepare($args); @@ -123,8 +123,9 @@ class ShowgroupAction extends GroupAction * * @return void */ - function handle($args) + protected function handle() { + parent::handle(); $this->showPage(); } @@ -148,7 +149,7 @@ class ShowgroupAction extends GroupAction $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); }