summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-10-30 01:25:52 -0400
committerCraig Andrews <candrews@integralblue.com>2009-10-30 01:25:52 -0400
commit005f85b5eaace14a1303eb51fb216e6d77696244 (patch)
tree8e535b4983581784bf21d4c174f2fd2831fb8af0
parent656eef6e6abb1eb89a0cf2f0adf81057c017ee50 (diff)
Removed reference to 'api' action which no longer exists since api refactor
-rw-r--r--classes/Notice.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/classes/Notice.php b/classes/Notice.php
index c08a66790..a9dbaa461 100644
--- a/classes/Notice.php
+++ b/classes/Notice.php
@@ -1181,10 +1181,9 @@ class Notice extends Memcached_DataObject
$xs->element('link', array('href' => $profile->profileurl));
$user = User::staticGet('id', $profile->id);
if (!empty($user)) {
- $atom_feed = common_local_url('api',
- array('apiaction' => 'statuses',
- 'method' => 'user_timeline',
- 'argument' => $profile->nickname.'.atom'));
+ $atom_feed = common_local_url('ApiTimelineUser',
+ array('format' => 'atom',
+ 'id' => $profile->nickname));
$xs->element('link', array('rel' => 'self',
'type' => 'application/atom+xml',
'href' => $profile->profileurl));