X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FpopulatePPSortKey.php;h=591fbd4b3948e75039311f69487769115dd15a71;hb=40c9d733e60509e4734ade849403a45458d61ab2;hp=366905a6a980b0c3da7fd6f62746500574e6c832;hpb=9ac5caffb48b32d2ba4b9be03a5682d657186c7f;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/populatePPSortKey.php b/maintenance/populatePPSortKey.php index 366905a6a9..591fbd4b39 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() ] ); @@ -93,6 +93,7 @@ class PopulatePPSortKey extends LoggedUpdateMaintenance { } $this->output( "Populating page_props.pp_sortkey complete.\n" ); + return true; } protected function getUpdateKey() { @@ -100,5 +101,5 @@ class PopulatePPSortKey extends LoggedUpdateMaintenance { } } -$maintClass = 'PopulatePPSortKey'; +$maintClass = PopulatePPSortKey::class; require_once RUN_MAINTENANCE_IF_MAIN;