From: Evan Prodromou Date: Sun, 17 Apr 2011 22:22:35 +0000 (-0400) Subject: Revert "additional debugging in router" X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=96d735baf41c5db04778fc2d2a59a5f8641458bd;p=quix0rs-gnu-social.git Revert "additional debugging in router" This reverts commit daadb7905b2863bf48aade7537f23a1b645d7d5d. --- diff --git a/plugins/EmailRegistration/EmailRegistrationPlugin.php b/plugins/EmailRegistration/EmailRegistrationPlugin.php index 44bd95e7b0..3305fed6db 100644 --- a/plugins/EmailRegistration/EmailRegistrationPlugin.php +++ b/plugins/EmailRegistration/EmailRegistrationPlugin.php @@ -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'));