X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=maintenance%2FconvertUserOptions.php;h=c1a096fd2383bafa8310d1b797313cf420587270;hp=675d0695d9047789b7621abab9666a7b2a16e023;hb=7babd362babcbf7f20adb8e12edb4f4bc1d4249f;hpb=9bfd0c324c46f2894dab1428069061de8ef264e8 diff --git a/maintenance/convertUserOptions.php b/maintenance/convertUserOptions.php index 675d0695d9..c1a096fd23 100644 --- a/maintenance/convertUserOptions.php +++ b/maintenance/convertUserOptions.php @@ -61,7 +61,7 @@ class ConvertUserOptions extends Maintenance { __METHOD__, [ 'ORDER BY' => 'user_id', - 'LIMIT' => $this->mBatchSize, + 'LIMIT' => $this->getBatchSize(), ] ); $id = $this->convertOptionBatch( $res, $dbw ); @@ -120,5 +120,5 @@ class ConvertUserOptions extends Maintenance { } } -$maintClass = "ConvertUserOptions"; +$maintClass = ConvertUserOptions::class; require_once RUN_MAINTENANCE_IF_MAIN;