pass profile down to ScopingNoticeStream in publicnoticestream
This commit is contained in:
parent
bae9eacaa1
commit
cc9f65ac81
@ -47,10 +47,11 @@ if (!defined('STATUSNET')) {
|
|||||||
|
|
||||||
class PublicNoticeStream extends ScopingNoticeStream
|
class PublicNoticeStream extends ScopingNoticeStream
|
||||||
{
|
{
|
||||||
function __construct()
|
function __construct($profile=null)
|
||||||
{
|
{
|
||||||
parent::__construct(new CachingNoticeStream(new RawPublicNoticeStream(),
|
parent::__construct(new CachingNoticeStream(new RawPublicNoticeStream(),
|
||||||
'public'));
|
'public'),
|
||||||
|
$profile);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user