X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2FpopulatePPSortKey.php;h=591fbd4b3948e75039311f69487769115dd15a71;hb=ab61a9b2f4f7c77caddb862d1adea5536560d61e;hp=366905a6a980b0c3da7fd6f62746500574e6c832;hpb=732b5e2745ca8f6153e19cc10c3c9acb1b2a6331;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;