Removed reference to 'api' action which no longer exists since api refactor
This commit is contained in:
parent
656eef6e6a
commit
005f85b5ea
@ -1181,10 +1181,9 @@ class Notice extends Memcached_DataObject
|
|||||||
$xs->element('link', array('href' => $profile->profileurl));
|
$xs->element('link', array('href' => $profile->profileurl));
|
||||||
$user = User::staticGet('id', $profile->id);
|
$user = User::staticGet('id', $profile->id);
|
||||||
if (!empty($user)) {
|
if (!empty($user)) {
|
||||||
$atom_feed = common_local_url('api',
|
$atom_feed = common_local_url('ApiTimelineUser',
|
||||||
array('apiaction' => 'statuses',
|
array('format' => 'atom',
|
||||||
'method' => 'user_timeline',
|
'id' => $profile->nickname));
|
||||||
'argument' => $profile->nickname.'.atom'));
|
|
||||||
$xs->element('link', array('rel' => 'self',
|
$xs->element('link', array('rel' => 'self',
|
||||||
'type' => 'application/atom+xml',
|
'type' => 'application/atom+xml',
|
||||||
'href' => $profile->profileurl));
|
'href' => $profile->profileurl));
|
||||||
|
Loading…
Reference in New Issue
Block a user