pass profile down to ScopingNoticeStream in publicnoticestream

This commit is contained in:
Evan Prodromou 2011-04-11 11:17:38 -04:00
parent bae9eacaa1
commit cc9f65ac81
1 changed files with 3 additions and 2 deletions

View File

@ -47,10 +47,11 @@ if (!defined('STATUSNET')) {
class PublicNoticeStream extends ScopingNoticeStream
{
function __construct()
function __construct($profile=null)
{
parent::__construct(new CachingNoticeStream(new RawPublicNoticeStream(),
'public'));
'public'),
$profile);
}
}