X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fpublicnoticestream.php;h=044701aaf68bb2b7e983a2ec4e8837910b6bd446;hb=b5c5d8d3933c9694bd105fc1e1f06bc96da2dc79;hp=5c8d313d46591dd3650d80a6bd78352a9aceca48;hpb=7533c7cfe1bf1adc87ad1f3b9be9271930cc58a5;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); } }