*
* @return boolean success flag
*/
- function prepare($args)
+ protected function prepare(array $args=array())
{
parent::prepare($args);
*
* @return void
*/
- function handle($args)
+ protected function handle()
{
+ parent::handle();
$this->showPage();
}
$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);
}