]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
reverse order of register connects
authorEvan Prodromou <evan@status.net>
Sun, 17 Apr 2011 22:12:12 +0000 (18:12 -0400)
committerEvan Prodromou <evan@status.net>
Sun, 17 Apr 2011 22:12:12 +0000 (18:12 -0400)
plugins/EmailRegistration/EmailRegistrationPlugin.php

index 5deae7e35ad5ecb779219d1071a271197fc0ced8..3305fed6db61639b84d3648c4cadfe8cf17773f3 100644 (file)
@@ -84,8 +84,8 @@ class EmailRegistrationPlugin extends Plugin
 
     function onStartInitializeRouter($m)
     {
-        $m->connect('main/register/:code', array('action' => 'emailregister'));
         $m->connect('main/register', array('action' => 'emailregister'));
+        $m->connect('main/register/:code', array('action' => 'emailregister'));
 
         return true;
     }