Merge "resourceloader: Move expandModuleNames() to ResourceLoader.php"
[lhc/web/wiklou.git] / includes / specials / SpecialEditWatchlist.php
index 70b4207..b05c81a 100644 (file)
@@ -431,7 +431,7 @@ class SpecialEditWatchlist extends UnlistedSpecialPage {
         * Attempts to clean up broken items
         */
        private function cleanupWatchlist() {
-               if ( !count( $this->badItems ) ) {
+               if ( $this->badItems === [] ) {
                        return; // nothing to do
                }