summaryrefslogtreecommitdiff
path: root/lib/atomusernoticefeed.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-06-01 13:51:41 -0700
committerEvan Prodromou <evan@status.net>2010-06-01 13:51:41 -0700
commita5de2152672f49ad95f114033ef6bf00ece9a0ab (patch)
treec31d031fb8ffb20b8497a80a7cf13958c50f5ad5 /lib/atomusernoticefeed.php
parent6d8e01ad13dd9bc9e149f43a1eb88671d4737f4d (diff)
parent634752f0d262b4fb02456889250378fca084cd2e (diff)
Merge branch 'master' of gitorious.org:statusnet/mainline
Diffstat (limited to 'lib/atomusernoticefeed.php')
-rw-r--r--lib/atomusernoticefeed.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/atomusernoticefeed.php b/lib/atomusernoticefeed.php
index 428cc2de2..b569d9379 100644
--- a/lib/atomusernoticefeed.php
+++ b/lib/atomusernoticefeed.php
@@ -50,13 +50,14 @@ class AtomUserNoticeFeed extends AtomNoticeFeed
* Constructor
*
* @param User $user the user 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($user, $indent = true) {
- parent::__construct($indent);
+ function __construct($user, $cur = null, $indent = true) {
+ parent::__construct($cur, $indent);
$this->user = $user;
if (!empty($user)) {
$profile = $user->getProfile();