From: Liangent Date: Fri, 10 Aug 2012 15:11:07 +0000 (+0800) Subject: Trim $dbSupport in WebInstallerPage.php X-Git-Tag: 1.31.0-rc.0~22777^2 X-Git-Url: http://git.cyclocoop.org/data/%24self?a=commitdiff_plain;h=92a9e9b8cf385525736e78132ca93fe745ca4c52;p=lhc%2Fweb%2Fwiklou.git Trim $dbSupport in WebInstallerPage.php This removes the trailing "\n" which introduces an extra new line. Change-Id: I74d5d1c95259ca5144932fbe8aa50cb69e036054 --- 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 );