- if (!empty($user) && $user->streamModeOnly()) {
- $stream = new PublicNoticeStream($this->userProfile);
- } else {
- $stream = new ThreadingPublicNoticeStream($this->userProfile);
- }
-
- $this->notice = $stream->getNotices(($this->page-1)*NOTICES_PER_PAGE,