From a5683b7309cf1005822382cb4a2422bf949bc107 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 22 Jan 2007 17:14:44 +0000 Subject: [PATCH] * (bug 3717) Update user count for AuthPlugin account autocreation --- RELEASE-NOTES | 2 ++ includes/SpecialUserlogin.php | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 51ebab8461..30fbf68f3d 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 == diff --git a/includes/SpecialUserlogin.php b/includes/SpecialUserlogin.php index 70bce6addd..e3a26b6107 100644 --- a/includes/SpecialUserlogin.php +++ b/includes/SpecialUserlogin.php @@ -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; } -- 2.20.1