summaryrefslogtreecommitdiff
path: root/lib/atomgroupnoticefeed.php
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-05-27 13:49:23 -0700
committerZach Copley <zach@status.net>2010-05-27 13:49:23 -0700
commitc5b61078e1548fba2820620e2e8f5fcbbda611a8 (patch)
treec3073b1f909814fb75a1a0f4da1980df2ec754c7 /lib/atomgroupnoticefeed.php
parent3e9b35677746ba0a9877fd1a20ef4e3ae52bc7b5 (diff)
Pass auth user into Atom feed generators (needed for outputting favorited status in statusnet:notice_info tag)
Diffstat (limited to 'lib/atomgroupnoticefeed.php')
-rw-r--r--lib/atomgroupnoticefeed.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/atomgroupnoticefeed.php b/lib/atomgroupnoticefeed.php
index 08c1c707c..7934a4f9e 100644
--- a/lib/atomgroupnoticefeed.php
+++ b/lib/atomgroupnoticefeed.php
@@ -50,12 +50,13 @@ class AtomGroupNoticeFeed extends AtomNoticeFeed
* Constructor
*
* @param Group $group the group for the feed
+ * @param User $cur the current authenticated user, if any
* @param boolean $indent flag to turn indenting on or off
*
* @return void
*/
- function __construct($group, $indent = true) {
- parent::__construct($indent);
+ function __construct($group, $cur = null, $indent = true) {
+ parent::__construct($cur, $indent);
$this->group = $group;
$title = sprintf(_("%s timeline"), $group->nickname);