X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fpublicnoticestream.php;h=044701aaf68bb2b7e983a2ec4e8837910b6bd446;hb=a2a2105058179e3cb3a69610aee37289bb1f2cc9;hp=5c8d313d46591dd3650d80a6bd78352a9aceca48;hpb=e862dcdb8a9cfc21cf00513d76f40d20dd3b1b7a;p=quix0rs-gnu-social.git diff --git a/lib/publicnoticestream.php b/lib/publicnoticestream.php index 5c8d313d46..044701aaf6 100644 --- a/lib/publicnoticestream.php +++ b/lib/publicnoticestream.php @@ -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); } }