From: Chad Horohoe Date: Wed, 27 Oct 2010 13:18:14 +0000 (+0000) Subject: Don't show new and ok message at the same time X-Git-Tag: 1.31.0-rc.0~34274 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles_versions%22%2C%22id_article=%24id_article%22%29%20.%20%22?a=commitdiff_plain;h=34ae184d3bf2ab14ac23d5808c55cad13f38d49e;p=lhc%2Fweb%2Fwiklou.git Don't show new and ok message at the same time --- diff --git a/includes/installer/Installer.php b/includes/installer/Installer.php index 2966ff7168..e4168188db 100644 --- a/includes/installer/Installer.php +++ b/includes/installer/Installer.php @@ -409,9 +409,9 @@ abstract class Installer { $this->showHelpBox( 'config-env-latest-help', $wgVersion, $currentVersion ); } elseif( version_compare( $wgVersion, $currentVersion, '>' ) ) { $this->showMessage( 'config-env-latest-new' ); + } else { + $this->showMessage( 'config-env-latest-ok' ); } - - $this->showMessage( 'config-env-latest-ok' ); } /**