forked from GNUsocial/gnu-social
Revert "additional debugging in router"
This reverts commit daadb7905b
.
This commit is contained in:
parent
daadb7905b
commit
96d735baf4
@ -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'));
|
||||
|
Loading…
Reference in New Issue
Block a user