diff options
author | Craig Andrews <candrews@integralblue.com> | 2009-10-30 01:25:52 -0400 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2009-10-30 01:25:52 -0400 |
commit | 005f85b5eaace14a1303eb51fb216e6d77696244 (patch) | |
tree | 8e535b4983581784bf21d4c174f2fd2831fb8af0 /classes/Notice.php | |
parent | 656eef6e6abb1eb89a0cf2f0adf81057c017ee50 (diff) |
Removed reference to 'api' action which no longer exists since api refactor
Diffstat (limited to 'classes/Notice.php')
-rw-r--r-- | classes/Notice.php | 7 |
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)); |