]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Revert "additional debugging in router"
authorEvan Prodromou <evan@status.net>
Sun, 17 Apr 2011 22:22:35 +0000 (18:22 -0400)
committerEvan Prodromou <evan@status.net>
Sun, 17 Apr 2011 22:22:35 +0000 (18:22 -0400)
This reverts commit daadb7905b2863bf48aade7537f23a1b645d7d5d.

plugins/EmailRegistration/EmailRegistrationPlugin.php

index 44bd95e7b08373bfc39da32fc90c86f05b52b9cd..3305fed6db61639b84d3648c4cadfe8cf17773f3 100644 (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'));