X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FcleanupEmptyCategories.php;h=922b32e50f0e9aacc4ca78ddd768eccc53473405;hb=7afced64454ad30d688540f7626448ac2faefebb;hp=2d22704de1ad1d0cf695b74813b0fdd5295c6e6e;hpb=2ef178072f6f46abde7bdcc2630389a8b2837557;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;