* @package StatusNet
* @author Evan Prodromou <evan@status.net>
* @author Sarven Capadisli <csarven@status.net>
- * @copyright 2008-2009 StatusNet, Inc.
+ * @copyright 2008-2011 StatusNet, Inc.
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
* @link http://status.net/
*/
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
* @link http://status.net/
*/
-class ShowgroupAction extends GroupDesignAction
+class ShowgroupAction extends Action
{
/** page we're viewing. */
var $page = null;
$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);
return $aAttrs;
}
}
+
+class ThreadingGroupNoticeStream extends ThreadingNoticeStream
+{
+ function __construct($group, $profile)
+ {
+ parent::__construct(new GroupNoticeStream($group, $profile));
+ }
+}
\ No newline at end of file