X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=blobdiff_plain;f=maintenance%2FpurgeList.php;h=16a62f405d1404d4ee627e133ce3540711a66b9a;hb=a6b9f44d2d7a430afc4bd78bb9a5b1e271b6abe7;hp=5ca7918ea9164bb7cce7ef61f4ec2f2acbf3f7f7;hpb=f9676b19503a72e70783966c5f748ef61277849b;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/purgeList.php b/maintenance/purgeList.php index 5ca7918ea9..16a62f405d 100644 --- a/maintenance/purgeList.php +++ b/maintenance/purgeList.php @@ -99,7 +99,7 @@ class PurgeList extends Maintenance { $conds + [ 'page_id > ' . $dbr->addQuotes( $startId ) ], __METHOD__, [ - 'LIMIT' => $this->mBatchSize, + 'LIMIT' => $this->getBatchSize(), 'ORDER BY' => 'page_id' ] @@ -143,5 +143,5 @@ class PurgeList extends Maintenance { } } -$maintClass = "PurgeList"; +$maintClass = PurgeList::class; require_once RUN_MAINTENANCE_IF_MAIN;