X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FcreateAndPromote.php;h=da9b4d63a0b3f534f36483d16b1c71883583b972;hb=ddef82758db4144f716431e04387d96de617135d;hp=acc28173d62d710b47e6b4279376916f7dc8b329;hpb=7710afe5690b76a4161b9c040f81be340384e8c6;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/createAndPromote.php b/maintenance/createAndPromote.php index acc28173d6..da9b4d63a0 100644 --- a/maintenance/createAndPromote.php +++ b/maintenance/createAndPromote.php @@ -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(); }