X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FcheckBadRedirects.php;h=097ad1f588735aa718895845ec7657643a53baab;hb=32e56eefaa1d9c0a832f9e32db4f9bdaad28f02e;hp=985df56ec76b5c4b305c134329c5c173cdbebdcd;hpb=e57998f5330e8a0c9636c9075ae5fb8e3b72f913;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/checkBadRedirects.php b/maintenance/checkBadRedirects.php index 985df56ec7..097ad1f588 100644 --- a/maintenance/checkBadRedirects.php +++ b/maintenance/checkBadRedirects.php @@ -38,9 +38,9 @@ class CheckBadRedirects extends Maintenance { $this->output( "Fetching redirects...\n" ); $dbr = $this->getDB( DB_SLAVE ); $result = $dbr->select( - array( 'page' ), - array( 'page_namespace', 'page_title', 'page_latest' ), - array( 'page_is_redirect' => 1 ) ); + [ 'page' ], + [ 'page_namespace', 'page_title', 'page_latest' ], + [ 'page_is_redirect' => 1 ] ); $count = $result->numRows(); $this->output( "Found $count redirects.\n" .