diff --git a/src/database/DatabaseInteractions.php b/src/database/DatabaseInteractions.php index ac1c86f..b1d425d 100644 --- a/src/database/DatabaseInteractions.php +++ b/src/database/DatabaseInteractions.php @@ -266,6 +266,9 @@ function createAccount(AccountRequest $request, User $creator, IDatabase $dbw) { //if there was any requirements bypass, remove it removeUsernameRequirementsBypass($request->username, $dbw); + //update user count + DeferredUpdates::addUpdate( SiteStatsUpdate::factory( [ 'users' => 1 ] ) ); + return $user; }