X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FcleanupEmptyCategories.php;h=922b32e50f0e9aacc4ca78ddd768eccc53473405;hb=4d10bb14e81aadb907a00e4bd13973ef668ab1f8;hp=2d22704de1ad1d0cf695b74813b0fdd5295c6e6e;hpb=0cf636a075b1716916979cc6c3bfead9ef960e01;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/cleanupEmptyCategories.php b/maintenance/cleanupEmptyCategories.php index 2d22704de1..922b32e50f 100644 --- a/maintenance/cleanupEmptyCategories.php +++ b/maintenance/cleanupEmptyCategories.php @@ -116,7 +116,6 @@ TEXT ] ); if ( !$rows || $rows->numRows() <= 0 ) { - # Done, hopefully. break; } @@ -170,7 +169,6 @@ TEXT ] ); if ( !$rows || $rows->numRows() <= 0 ) { - # Done, hopefully. break; } foreach ( $rows as $row ) { @@ -199,5 +197,5 @@ TEXT } } -$maintClass = 'CleanupEmptyCategories'; +$maintClass = CleanupEmptyCategories::class; require_once RUN_MAINTENANCE_IF_MAIN;