X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FcleanupEmptyCategories.php;h=786c20a59e76f0e7421b39f1f0df65e59a2fd30a;hb=0bc629fefc76e78a7bcc78ec905e740a9c25e3b4;hp=8672223819ab507301c86eb0118b422541633f7b;hpb=59e7337ea612d03d08b67e6ada707e3d7ced738d;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/cleanupEmptyCategories.php b/maintenance/cleanupEmptyCategories.php index 8672223819..786c20a59e 100644 --- a/maintenance/cleanupEmptyCategories.php +++ b/maintenance/cleanupEmptyCategories.php @@ -109,7 +109,7 @@ TEXT __METHOD__, [ 'ORDER BY' => 'page_title', - 'LIMIT' => $this->mBatchSize, + 'LIMIT' => $this->getBatchSize(), ], [ 'category' => [ 'LEFT JOIN', 'page_title = cat_title' ], @@ -161,7 +161,7 @@ TEXT __METHOD__, [ 'ORDER BY' => 'cat_title', - 'LIMIT' => $this->mBatchSize, + 'LIMIT' => $this->getBatchSize(), ], [ 'page' => [ 'LEFT JOIN', [ @@ -199,5 +199,5 @@ TEXT } } -$maintClass = 'CleanupEmptyCategories'; +$maintClass = CleanupEmptyCategories::class; require_once RUN_MAINTENANCE_IF_MAIN;