__METHOD__,
[
'ORDER BY' => 'page_title',
- 'LIMIT' => $this->mBatchSize,
+ 'LIMIT' => $this->getBatchSize(),
],
[
'category' => [ 'LEFT JOIN', 'page_title = cat_title' ],
]
);
if ( !$rows || $rows->numRows() <= 0 ) {
- # Done, hopefully.
break;
}
__METHOD__,
[
'ORDER BY' => 'cat_title',
- 'LIMIT' => $this->mBatchSize,
+ 'LIMIT' => $this->getBatchSize(),
],
[
'page' => [ 'LEFT JOIN', [
]
);
if ( !$rows || $rows->numRows() <= 0 ) {
- # Done, hopefully.
break;
}
foreach ( $rows as $row ) {
}
}
-$maintClass = 'CleanupEmptyCategories';
+$maintClass = CleanupEmptyCategories::class;
require_once RUN_MAINTENANCE_IF_MAIN;