]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add our routes at the begnning, not the end.
authorEvan Prodromou <evan@status.net>
Sun, 17 Apr 2011 22:05:18 +0000 (18:05 -0400)
committerEvan Prodromou <evan@status.net>
Sun, 17 Apr 2011 22:05:18 +0000 (18:05 -0400)
plugins/EmailRegistration/EmailRegistrationPlugin.php

index 37780f65756257b72dd12a44b7eb3b85d4638e2d..306806c7d6250cfe08c1dceec7a91e3357b456d8 100644 (file)
@@ -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'));