From: Chad Horohoe Date: Sun, 17 Oct 2010 17:09:45 +0000 (+0000) Subject: Fixup r71449, can't use $var::method() in < 5.3 :( X-Git-Tag: 1.31.0-rc.0~34467 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=e43b69424aeb0dcaf1cbaff229bbd98943e581c8;p=lhc%2Fweb%2Fwiklou.git Fixup r71449, can't use $var::method() in < 5.3 :( Use call_user_func() instead --- diff --git a/includes/installer/WebInstallerPage.php b/includes/installer/WebInstallerPage.php index ccf10dee78..93ae6ffc4d 100644 --- a/includes/installer/WebInstallerPage.php +++ b/includes/installer/WebInstallerPage.php @@ -229,7 +229,8 @@ class WebInstaller_DBConnect extends WebInstallerPage { $dbSupport = ''; foreach( $this->parent->getDBTypes() as $type ) { $db = 'Database' . ucfirst( $type ); - $dbSupport .= wfMsgNoTrans( "config-support-$type", $db::getSoftwareLink() ) . "\n"; + $dbSupport .= wfMsgNoTrans( "config-support-$type", + call_user_func( array( $db, 'getSoftwareLink' ) ) ) . "\n"; } $this->addHTML( $this->parent->getInfoBox( wfMsg( 'config-support-info', $dbSupport ) ) );