X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FMediaWikiVersionFetcher.php;h=913ae9a50d64e8672c3d1b0a3a67c05236dcf1d2;hb=d3252c31762b4cbf78a5270206be832489f7e13d;hp=943bc9fcf32ca969629ec07f039235fa6073017d;hpb=ea76d59537c580bdb2ddc8acc4c32fe38ae3f58d;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/MediaWikiVersionFetcher.php b/includes/MediaWikiVersionFetcher.php index 943bc9fcf3..913ae9a50d 100644 --- a/includes/MediaWikiVersionFetcher.php +++ b/includes/MediaWikiVersionFetcher.php @@ -17,7 +17,7 @@ class MediaWikiVersionFetcher { public function fetchVersion() { $defaultSettings = file_get_contents( __DIR__ . '/DefaultSettings.php' ); - $matches = array(); + $matches = []; preg_match( "/wgVersion = '([0-9a-zA-Z\.\-]+)';/", $defaultSettings, $matches ); if ( count( $matches ) !== 2 ) {