use threadingnoticestream for groups
This commit is contained in:
parent
ee81f98828
commit
9eafc8d0ba
|
@ -148,7 +148,7 @@ class ShowgroupAction extends GroupDesignAction
|
|||
|
||||
$this->userProfile = Profile::current();
|
||||
|
||||
$stream = new GroupNoticeStream($this->group, $this->userProfile);
|
||||
$stream = new ThreadingGroupNoticeStream($this->group, $this->userProfile);
|
||||
|
||||
$this->notice = $stream->getNotices(($this->page-1)*NOTICES_PER_PAGE,
|
||||
NOTICES_PER_PAGE + 1);
|
||||
|
@ -438,3 +438,11 @@ class GroupMembersMiniListItem extends ProfileMiniListItem
|
|||
return $aAttrs;
|
||||
}
|
||||
}
|
||||
|
||||
class ThreadingGroupNoticeStream extends ThreadingNoticeStream
|
||||
{
|
||||
function __construct($group, $profile)
|
||||
{
|
||||
parent::__construct(new GroupNoticeStream($group, $profile));
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user