diff options
author | Evan Prodromou <evan@status.net> | 2010-11-26 21:46:51 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-11-26 21:46:51 -0500 |
commit | fcc0825b14c1499ec97088fa4ec39a7bbb4d0ec1 (patch) | |
tree | eed37f69632c719460af8cb42c7fb180c0d65dff /plugins/OStatus/OStatusPlugin.php | |
parent | 0a4911552e6930f2e5d2830615b29be518af2a8a (diff) |
Make userxrd part of the default hostmeta
Diffstat (limited to 'plugins/OStatus/OStatusPlugin.php')
-rw-r--r-- | plugins/OStatus/OStatusPlugin.php | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/plugins/OStatus/OStatusPlugin.php b/plugins/OStatus/OStatusPlugin.php index 8aedebe41..7d62eaba6 100644 --- a/plugins/OStatus/OStatusPlugin.php +++ b/plugins/OStatus/OStatusPlugin.php @@ -52,8 +52,6 @@ class OStatusPlugin extends Plugin function onRouterInitialized($m) { // Discovery actions - $m->connect('main/xrd', - array('action' => 'userxrd')); $m->connect('main/ownerxrd', array('action' => 'ownerxrd')); $m->connect('main/ostatus', @@ -1010,14 +1008,6 @@ class OStatusPlugin extends Plugin return true; } - function onStartHostMetaLinks(&$links) { - $url = common_local_url('userxrd'); - $url.= '?uri={uri}'; - $links[] = array('rel' => Discovery::LRDD_REL, - 'template' => $url, - 'title' => array('Resource Descriptor')); - } - function onEndXrdActionLinks(&$xrd, $user) { // Salmon |