* (bug 3717) Update user count for AuthPlugin account autocreation
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 22 Jan 2007 17:14:44 +0000 (17:14 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 22 Jan 2007 17:14:44 +0000 (17:14 +0000)
RELEASE-NOTES
includes/SpecialUserlogin.php

index 51ebab8..30fbf68 100644 (file)
@@ -140,6 +140,8 @@ lighter making things easier to read.
   as block expiry dates. Existing protections are assumed to be infinite, as are protections
   made with the new field left blank. 
 * Allow sending per-user contribution requests to "contributions" query group
+* (bug 3717) Update user count for AuthPlugin account autocreation
+
 
 == Languages updated ==
 
index 70bce6a..e3a26b6 100644 (file)
@@ -289,10 +289,6 @@ class LoginForm {
                        return false;
                }
 
-               # Update user count
-               $ssUpdate = new SiteStatsUpdate( 0, 0, 0, 0, 1 );
-               $ssUpdate->doUpdate();
-
                return $this->initUser( $u );
        }
 
@@ -317,6 +313,10 @@ class LoginForm {
                $u->setOption( 'rememberpassword', $this->mRemember ? 1 : 0 );
                $u->saveSettings();
 
+               # Update user count
+               $ssUpdate = new SiteStatsUpdate( 0, 0, 0, 0, 1 );
+               $ssUpdate->doUpdate();
+
                return $u;
        }