summaryrefslogtreecommitdiff
path: root/actions/all.php
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-10-29 19:09:42 -0400
committerCraig Andrews <candrews@integralblue.com>2009-10-29 19:09:42 -0400
commit35ace5562d999532d799f4d5153b7b3c347042a0 (patch)
treead4b6b1066a1a06fd945e923386321195a091c25 /actions/all.php
parentde7c12baef33d29c92f28168d0446e7c920df017 (diff)
Fix feed links which were broken when the API was restructured
Diffstat (limited to 'actions/all.php')
-rw-r--r--actions/all.php14
1 files changed, 6 insertions, 8 deletions
diff --git a/actions/all.php b/actions/all.php
index f1786462e..61cedce74 100644
--- a/actions/all.php
+++ b/actions/all.php
@@ -99,19 +99,17 @@ class AllAction extends ProfileAction
sprintf(_('Feed for friends of %s (RSS 1.0)'), $this->user->nickname)),
new Feed(Feed::RSS2,
common_local_url(
- 'api', array(
- 'apiaction' => 'statuses',
- 'method' => 'friends_timeline',
- 'argument' => $this->user->nickname.'.rss'
+ 'ApiTimelineFriends', array(
+ 'format' => 'rss',
+ 'id' => $this->user->nickname
)
),
sprintf(_('Feed for friends of %s (RSS 2.0)'), $this->user->nickname)),
new Feed(Feed::ATOM,
common_local_url(
- 'api', array(
- 'apiaction' => 'statuses',
- 'method' => 'friends_timeline',
- 'argument' => $this->user->nickname.'.atom'
+ 'ApiTimelineFriends', array(
+ 'format' => 'atom',
+ 'id' => $this->user->nickname
)
),
sprintf(_('Feed for friends of %s (Atom)'), $this->user->nickname))