Skip to content

Commit

Permalink
Fix outdated compat check
Browse files Browse the repository at this point in the history
  • Loading branch information
JeroenDeDauw committed Apr 2, 2020
1 parent 55524f4 commit 247b534
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MapsRegistration.php
Expand Up @@ -38,9 +38,9 @@ public static function onRegistration( array $credits ) {
throw new Exception( 'You need to have Validator installed in order to use Maps' );
}

if ( version_compare( $GLOBALS['wgVersion'], '1.27c', '<' ) ) {
if ( version_compare( $GLOBALS['wgVersion'], '1.31c', '<' ) ) {
throw new Exception(
'This version of Maps requires MediaWiki 1.27 or above; use Maps 4.2.x for older versions.'
'This version of Maps requires MediaWiki 1.31 or above; use Maps 5.6.x for older versions.'
. ' More information at https://github.com/JeroenDeDauw/Maps/blob/master/INSTALL.md'
);
}
Expand Down

0 comments on commit 247b534

Please sign in to comment.