diff --git a/plugins/EmailRegistration/EmailRegistrationPlugin.php b/plugins/EmailRegistration/EmailRegistrationPlugin.php index 37780f6575..306806c7d6 100644 --- a/plugins/EmailRegistration/EmailRegistrationPlugin.php +++ b/plugins/EmailRegistration/EmailRegistrationPlugin.php @@ -77,7 +77,7 @@ class EmailRegistrationPlugin extends Plugin return true; } - function onRouterInitialized($m) + function onStartInitializeRouter($m) { $m->connect('main/register/:code', array('action' => 'emailregister')); $m->connect('main/register', array('action' => 'emailregister'));