From: Evan Prodromou Date: Mon, 11 Apr 2011 00:16:37 +0000 (-0400) Subject: groupnoticelist takes a profile param X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=dfdde5d2bc63a6299f44243714f9d6d98d4ab91c;p=quix0rs-gnu-social.git groupnoticelist takes a profile param --- 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); } }