X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FconvertUserOptions.php;h=c1a096fd2383bafa8310d1b797313cf420587270;hb=1658759d42a5d802e29a71c3fd70ae127afd3e46;hp=675d0695d9047789b7621abab9666a7b2a16e023;hpb=ecba64eee06463a6aa7dc22de8c0be5784531514;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;