Revert "additional debugging in router"

This reverts commit daadb7905b.
This commit is contained in:
Evan Prodromou 2011-04-17 18:22:35 -04:00
parent daadb7905b
commit 96d735baf4

View File

@ -82,15 +82,6 @@ class EmailRegistrationPlugin extends Plugin
return true;
}
function onEndConnectPath($path, $defaults, $rules, $result)
{
static $toblock = array('main/register', 'main/register/:code');
if (in_array($path, $toblock) && $defaults['action'] == 'emailregister') {
common_debug("for email register got " . print_r($result, true));
}
}
function onStartInitializeRouter($m)
{
$m->connect('main/register', array('action' => 'emailregister'));