From: Evan Prodromou Date: Sun, 17 Apr 2011 22:05:18 +0000 (-0400) Subject: add our routes at the begnning, not the end. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7cc4c97aa91f5012a83c73ff0760794087fe4d21;p=quix0rs-gnu-social.git add our routes at the begnning, not the end. --- 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'));