X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FconvertUserOptions.php;h=c1a096fd2383bafa8310d1b797313cf420587270;hb=5a166c2a550152e4bcae799c9be7f06fa2a2278d;hp=675d0695d9047789b7621abab9666a7b2a16e023;hpb=3b24efab270e0f8d768ee3d390e25ae5259da431;p=lhc%2Fweb%2Fwiklou.git 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;