From dfdde5d2bc63a6299f44243714f9d6d98d4ab91c Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sun, 10 Apr 2011 20:16:37 -0400 Subject: [PATCH] groupnoticelist takes a profile param --- lib/groupnoticestream.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/groupnoticestream.php b/lib/groupnoticestream.php index 22d94d0482..930afe6081 100644 --- a/lib/groupnoticestream.php +++ b/lib/groupnoticestream.php @@ -46,10 +46,11 @@ if (!defined('STATUSNET')) { */ class GroupNoticeStream extends ScopingNoticeStream { - function __construct($group) + function __construct($group, $profile = null) { parent::__construct(new CachingNoticeStream(new RawGroupNoticeStream($group), - 'user_group:notice_ids:' . $group->id)); + 'user_group:notice_ids:' . $group->id), + $profile); } } -- 2.39.5