]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Removed reference to 'api' action which no longer exists since api refactor
authorCraig Andrews <candrews@integralblue.com>
Fri, 30 Oct 2009 05:25:52 +0000 (01:25 -0400)
committerCraig Andrews <candrews@integralblue.com>
Fri, 30 Oct 2009 05:25:52 +0000 (01:25 -0400)
classes/Notice.php

index c08a66790fe18698550f34374fe3181c8e538df2..a9dbaa461ba806593efbbeb40d4d6e3726aa1bc7 100644 (file)
@@ -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));