diff options
author | Brion Vibber <brion@pobox.com> | 2010-12-15 11:59:31 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-12-15 11:59:31 -0800 |
commit | bf20258f4b61dd8396db9a1980463c060dab292c (patch) | |
tree | f43d7d73e9877bb40fe373afcf3849f9cd5c3398 /actions/subscriptions.php | |
parent | 9df856e667a12cd217576263efbc72fff12692d9 (diff) | |
parent | 6c671141982c5837a2e5bf1e90de389c728d5dee (diff) |
Merge branch '0.9.x' into 1.0.x
Diffstat (limited to 'actions/subscriptions.php')
-rw-r--r-- | actions/subscriptions.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/actions/subscriptions.php b/actions/subscriptions.php index 45dbaf3b3..10e8f2860 100644 --- a/actions/subscriptions.php +++ b/actions/subscriptions.php @@ -163,6 +163,22 @@ class SubscriptionsAction extends GalleryAction $cloud2 = new SubscriptionsPeopleSelfTagCloudSection($this); $cloud2->show(); } + + /** + * Link to feeds of subscriptions + * + * @return array of Feed objects + */ + + function getFeeds() + { + return array(new Feed(Feed::ATOM, + common_local_url('AtomPubSubscriptionFeed', + array('subscriber' => $this->profile->id)), + sprintf(_('Subscription feed for %s (Atom)'), + $this->profile->nickname))); + + } } // XXX SubscriptionsList and SubscriptionList are dangerously close @@ -249,4 +265,5 @@ class SubscriptionsListItem extends SubscriptionListItem $this->out->elementEnd('form'); return; } + } |