From e43b69424aeb0dcaf1cbaff229bbd98943e581c8 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Sun, 17 Oct 2010 17:09:45 +0000 Subject: [PATCH] Fixup r71449, can't use $var::method() in < 5.3 :( Use call_user_func() instead --- includes/installer/WebInstallerPage.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ) ) ); -- 2.20.1