move to rel="salmon" (per latest spec)

This commit is contained in:
James Walker
2010-08-02 13:23:55 -04:00
parent a1aea74fe2
commit 517c7483d1
3 changed files with 9 additions and 1 deletions

View File

@@ -76,6 +76,9 @@ class XrdAction extends Action
$salmon_url = common_local_url('usersalmon',
array('id' => $this->user->id));
$xrd->links[] = array('rel' => Salmon::REL_SALMON,
'href' => $salmon_url);
// XXX : Deprecated - to be removed.
$xrd->links[] = array('rel' => Salmon::NS_REPLIES,
'href' => $salmon_url);