summaryrefslogtreecommitdiff
path: root/actions/userrss.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/userrss.php')
-rw-r--r--actions/userrss.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/actions/userrss.php b/actions/userrss.php
index 1f103dc08..a30c7bc28 100644
--- a/actions/userrss.php
+++ b/actions/userrss.php
@@ -79,4 +79,14 @@ class UserrssAction extends Rss10Action {
$avatar = $profile->getAvatar(AVATAR_PROFILE_SIZE);
return ($avatar) ? $avatar->url : NULL;
}
+
+ # override parent to add X-SUP-ID URL
+
+ function show_rss($limit=0) {
+ $url = common_local_url('sup', NULL, $this->user->id);
+ header('X-SUP-ID', $url);
+ parent::show_rss($limit);
+ }
+
+
} \ No newline at end of file