groupnoticelist takes a profile param

This commit is contained in:
Evan Prodromou 2011-04-10 20:16:37 -04:00
parent 8b54f28330
commit dfdde5d2bc

View File

@ -46,10 +46,11 @@ if (!defined('STATUSNET')) {
*/ */
class GroupNoticeStream extends ScopingNoticeStream class GroupNoticeStream extends ScopingNoticeStream
{ {
function __construct($group) function __construct($group, $profile = null)
{ {
parent::__construct(new CachingNoticeStream(new RawGroupNoticeStream($group), parent::__construct(new CachingNoticeStream(new RawGroupNoticeStream($group),
'user_group:notice_ids:' . $group->id)); 'user_group:notice_ids:' . $group->id),
$profile);
} }
} }