groupnoticelist takes a profile param
This commit is contained in:
parent
8b54f28330
commit
dfdde5d2bc
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user