incorrectly moved user xrds to OpenID plugin; fixing

This commit is contained in:
Evan Prodromou 2009-08-04 09:03:58 -04:00
parent 0616ea0205
commit 3997682d26
3 changed files with 1 additions and 4 deletions

View File

@ -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),

View File

@ -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'));