Merge "Make refreshLinksJob explicitly check the cache rev ID"
[lhc/web/wiklou.git] / maintenance / tidyUpBug37714.php
index e9c006e..f47e13c 100644 (file)
@@ -20,8 +20,7 @@ class TidyUpBug37714 extends Maintenance {
                );
 
                foreach ( $result as $row ) {
-                       $paramLines = explode( "\n", $row->log_params );
-                       $ids = explode( ',', $paramLines[0] ); // Array dereferencing is PHP >= 5.4 :(
+                       $ids = explode( ',', explode( "\n", $row->log_params )[0] );
                        $result = $this->getDB( DB_SLAVE )->select( // Work out what log entries were changed here.
                                'logging',
                                'log_type',