X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=maintenance%2FpopulatePPSortKey.php;h=1ba70549a4fcb5fc1e16f49ac4ed4c666d2e6762;hp=366905a6a980b0c3da7fd6f62746500574e6c832;hb=11ee7f78da9776db26098642a151a288f98bea14;hpb=23673a0ff99f4173ded689ee32dae799f2d07642 diff --git a/maintenance/populatePPSortKey.php b/maintenance/populatePPSortKey.php index 366905a6a9..1ba70549a4 100644 --- a/maintenance/populatePPSortKey.php +++ b/maintenance/populatePPSortKey.php @@ -57,7 +57,7 @@ class PopulatePPSortKey extends LoggedUpdateMaintenance { __METHOD__, [ 'ORDER BY' => 'pp_page, pp_propname', - 'LIMIT' => $this->mBatchSize + 'LIMIT' => $this->getBatchSize() ] ); @@ -100,5 +100,5 @@ class PopulatePPSortKey extends LoggedUpdateMaintenance { } } -$maintClass = 'PopulatePPSortKey'; +$maintClass = PopulatePPSortKey::class; require_once RUN_MAINTENANCE_IF_MAIN;