Revert "some debugging for email registration routes"

This reverts commit 165d9fd9de.
This commit is contained in:
Evan Prodromou 2011-04-17 18:22:59 -04:00
parent b5dfceb59c
commit 064ed69446
1 changed files with 2 additions and 7 deletions

View File

@ -70,14 +70,9 @@ class EmailRegistrationPlugin extends Plugin
{ {
static $toblock = array('main/register', 'main/register/:code'); static $toblock = array('main/register', 'main/register/:code');
if (in_array($path, $toblock)) { if (in_array($path, $toblock) && $defaults['action'] != 'emailregister') {
common_debug("Request came in for $path");
if ($defaults['action'] != 'emailregister') {
common_debug("Action is {$default['action']}, so: rejected.");
$result = false;
return false; return false;
} }
}
return true; return true;
} }