Merge "Improve docs for Title::getInternalURL/getCanonicalURL"
[lhc/web/wiklou.git] / maintenance / cleanupEmptyCategories.php
index 2d22704..922b32e 100644 (file)
@@ -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;