From 96d735baf41c5db04778fc2d2a59a5f8641458bd Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sun, 17 Apr 2011 18:22:35 -0400 Subject: [PATCH] Revert "additional debugging in router" This reverts commit daadb7905b2863bf48aade7537f23a1b645d7d5d. --- plugins/EmailRegistration/EmailRegistrationPlugin.php | 9 --------- 1 file changed, 9 deletions(-) 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')); -- 2.39.5