Salmon only has one "rel" value now, so start deprecating

This commit is contained in:
Mikael Nordfeldth
2013-11-01 17:00:12 +01:00
parent bd86519d50
commit 7ddd561837
4 changed files with 15 additions and 7 deletions

View File

@@ -29,8 +29,9 @@ class DiscoveryHints {
case WebFingerResource::PROFILEPAGE:
$hints['profileurl'] = $link->href;
break;
case Salmon::NS_MENTIONS:
case Salmon::NS_REPLIES:
case Salmon::REL_SALMON:
case Salmon::NS_MENTIONS: // XXX: deprecated, remove in the future
case Salmon::NS_REPLIES: // XXX: deprecated, remove in the future
$hints['salmon'] = $link->href;
break;
case Discovery::UPDATESFROM: