From 92a9e9b8cf385525736e78132ca93fe745ca4c52 Mon Sep 17 00:00:00 2001 From: Liangent Date: Fri, 10 Aug 2012 23:11:07 +0800 Subject: [PATCH] Trim $dbSupport in WebInstallerPage.php This removes the trailing "\n" which introduces an extra new line. Change-Id: I74d5d1c95259ca5144932fbe8aa50cb69e036054 --- includes/installer/WebInstallerPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/installer/WebInstallerPage.php b/includes/installer/WebInstallerPage.php index c10fe88bab..917a59ae79 100644 --- a/includes/installer/WebInstallerPage.php +++ b/includes/installer/WebInstallerPage.php @@ -457,7 +457,7 @@ class WebInstaller_DBConnect extends WebInstallerPage { $dbSupport .= wfMsgNoTrans( "config-support-$type", $link ) . "\n"; } $this->addHTML( $this->parent->getInfoBox( - wfMsg( 'config-support-info', $dbSupport ) ) ); + wfMsg( 'config-support-info', trim( $dbSupport ) ) ) ); foreach ( $this->parent->getVar( '_CompiledDBs' ) as $type ) { $installer = $this->parent->getDBInstaller( $type ); -- 2.20.1