use new dedicated hcard method for Webfinger profile

This commit is contained in:
Evan Prodromou 2010-02-25 18:45:08 -05:00
parent 76216af806
commit 6578e0e1af
1 changed files with 5 additions and 5 deletions

View File

@ -68,7 +68,7 @@ class WebfingerAction extends Action
// hCard
$xrd->links[] = array('rel' => 'http://microformats.org/profile/hcard',
'type' => 'text/html',
'href' => common_profile_url($nick));
'href' => common_local_url('hcard', array('nickname' => $nick)));
// XFN
$xrd->links[] = array('rel' => 'http://gmpg.org/xfn/11',