We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 9eafc8d0 authored by Evan Prodromou's avatar Evan Prodromou

use threadingnoticestream for groups

parent ee81f988
......@@ -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));
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment