X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FpopulatePPSortKey.php;h=1ba70549a4fcb5fc1e16f49ac4ed4c666d2e6762;hb=c99e9beff7d7c1a5a48f8d6f869a42425021c62b;hp=366905a6a980b0c3da7fd6f62746500574e6c832;hpb=31495b9e60e01438f5906cb24d484599e4930e66;p=lhc%2Fweb%2Fwiklou.git 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;