]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/publicnoticestream.php
Update/fix translator documentation.
[quix0rs-gnu-social.git] / lib / publicnoticestream.php
index 143d748dbdbd1bc4205d979e51f745a7fdd491c6..044701aaf68bb2b7e983a2ec4e8837910b6bd446 100644 (file)
@@ -45,13 +45,13 @@ if (!defined('STATUSNET')) {
  * @link      http://status.net/
  */
 
-class PublicNoticeStream extends ThreadingNoticeStream
+class PublicNoticeStream extends ScopingNoticeStream
 {
     function __construct($profile=null)
     {
-        $stream = new ScopingNoticeStream(new CachingNoticeStream(new RawPublicNoticeStream(), 'public'),
-                                          $profile);
-        parent::__construct($stream);
+        parent::__construct(new CachingNoticeStream(new RawPublicNoticeStream(),
+                                                    'public'),
+                            $profile);
     }
 }