Fixup r71449, can't use $var::method() in < 5.3 :(
authorChad Horohoe <demon@users.mediawiki.org>
Sun, 17 Oct 2010 17:09:45 +0000 (17:09 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Sun, 17 Oct 2010 17:09:45 +0000 (17:09 +0000)
Use call_user_func() instead

includes/installer/WebInstallerPage.php

index ccf10de..93ae6ff 100644 (file)
@@ -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 ) ) );