forked from GNUsocial/gnu-social
bad merge.. cleaning up missing webfinger bits
This commit is contained in:
parent
22062b665e
commit
d1256b547f
@ -66,7 +66,7 @@ class XrdAction extends Action
|
||||
'type' => 'application/atom+xml');
|
||||
|
||||
// hCard
|
||||
$xrd->links[] = array('rel' => Webfinger::HCARD,
|
||||
$xrd->links[] = array('rel' => Discovery::HCARD,
|
||||
'type' => 'text/html',
|
||||
'href' => common_local_url('hcard', array('nickname' => $nick)));
|
||||
|
||||
|
@ -39,7 +39,8 @@ class Discovery
|
||||
const LRDD_REL = 'lrdd';
|
||||
const PROFILEPAGE = 'http://webfinger.net/rel/profile-page';
|
||||
const UPDATESFROM = 'http://schemas.google.com/g/2010#updates-from';
|
||||
|
||||
const HCARD = 'http://microformats.org/profile/hcard';
|
||||
|
||||
public $methods = array();
|
||||
|
||||
public function __construct()
|
||||
|
Loading…
Reference in New Issue
Block a user