]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
groupnoticelist takes a profile param
authorEvan Prodromou <evan@status.net>
Mon, 11 Apr 2011 00:16:37 +0000 (20:16 -0400)
committerEvan Prodromou <evan@status.net>
Mon, 11 Apr 2011 00:16:37 +0000 (20:16 -0400)
lib/groupnoticestream.php

index 22d94d0482fcc7f1ee54884dfc692473f41ec3e0..930afe608108027a91d9c1c92b63d631585106fc 100644 (file)
@@ -46,10 +46,11 @@ if (!defined('STATUSNET')) {
  */
 class GroupNoticeStream extends ScopingNoticeStream
 {
-    function __construct($group)
+    function __construct($group, $profile = null)
     {
         parent::__construct(new CachingNoticeStream(new RawGroupNoticeStream($group),
-                                                    'user_group:notice_ids:' . $group->id));
+                                                    'user_group:notice_ids:' . $group->id),
+                            $profile);
     }
 }