Merge "Migrate various callers away from wfWikiId() to WikiMap"
[lhc/web/wiklou.git] / maintenance / createAndPromote.php
index acc2817..da9b4d6 100644 (file)
@@ -150,7 +150,7 @@ class CreateAndPromote extends Maintenance {
 
                if ( !$exists ) {
                        # Increment site_stats.ss_users
-                       $ssu = new SiteStatsUpdate( 0, 0, 0, 0, 1 );
+                       $ssu = SiteStatsUpdate::factory( [ 'users' => 1 ] );
                        $ssu->doUpdate();
                }