From 34ae184d3bf2ab14ac23d5808c55cad13f38d49e Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Wed, 27 Oct 2010 13:18:14 +0000 Subject: [PATCH] Don't show new and ok message at the same time --- includes/installer/Installer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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' ); } /** -- 2.20.1