summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-08-04 09:03:58 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-08-04 13:01:23 -0400
commit3997682d26d7ed48361610892b65ace9097f5fc0 (patch)
treefa14c3a6b453146a4d53062b4424ffd680b95d2d
parent0616ea020550c2bf3d5ce5e9f6452f9359384146 (diff)
incorrectly moved user xrds to OpenID plugin; fixing
-rw-r--r--actions/xrds.php (renamed from plugins/OpenID/xrds.php)0
-rw-r--r--lib/router.php2
-rw-r--r--plugins/OpenID/OpenIDPlugin.php3
3 files changed, 1 insertions, 4 deletions
diff --git a/plugins/OpenID/xrds.php b/actions/xrds.php
index 9327a3c83..9327a3c83 100644
--- a/plugins/OpenID/xrds.php
+++ b/actions/xrds.php
diff --git a/lib/router.php b/lib/router.php
index 37a7e4a0f..90ffaec16 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -431,7 +431,7 @@ class Router
// user stuff
foreach (array('subscriptions', 'subscribers',
- 'nudge', 'all', 'foaf',
+ 'nudge', 'all', 'foaf', 'xrds',
'replies', 'inbox', 'outbox', 'microsummary') as $a) {
$m->connect(':nickname/'.$a,
array('action' => $a),
diff --git a/plugins/OpenID/OpenIDPlugin.php b/plugins/OpenID/OpenIDPlugin.php
index ccbad5ffb..199b1b351 100644
--- a/plugins/OpenID/OpenIDPlugin.php
+++ b/plugins/OpenID/OpenIDPlugin.php
@@ -66,9 +66,6 @@ class OpenIDPlugin extends Plugin
{
$m->connect('main/openid', array('action' => 'openidlogin'));
$m->connect('settings/openid', array('action' => 'openidsettings'));
- $m->connect(':nickname/xrds',
- array('action' => 'xrds'),
- array('nickname' => '[a-zA-Z0-9]{1,64}'));
$m->connect('xrds', array('action' => 'publicxrds'));
$m->connect('index.php?action=finishopenidlogin', array('action' => 'finishopenidlogin'));
$m->connect('index.php?action=finishaddopenid', array('action' => 'finishaddopenid'));