return false;
}
- $cur = common_current_user();
-
- $this->userProfile = (empty($cur)) ? null : $cur->getProfile();
+ $this->userProfile = Profile::current();
$stream = new GroupNoticeStream($this->group, $this->userProfile);
*/
function showGroupNotices()
{
- $nl = new ThreadedNoticeList($notice, $this, $this->userProfile);
+ $nl = new ThreadedNoticeList($this->notice, $this, $this->userProfile);
$cnt = $nl->show();
$this->pagination($this->page > 1,