r74901 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r74900‎ | r74901 | r74902 >
Date:17:09, 17 October 2010
Author:demon
Status:ok
Tags:
Comment:
Fixup r71449, can't use $var::method() in < 5.3 :(
Use call_user_func() instead
Modified paths:
  • /trunk/phase3/includes/installer/WebInstallerPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/installer/WebInstallerPage.php
@@ -229,7 +229,8 @@
230230 $dbSupport = '';
231231 foreach( $this->parent->getDBTypes() as $type ) {
232232 $db = 'Database' . ucfirst( $type );
233 - $dbSupport .= wfMsgNoTrans( "config-support-$type", $db::getSoftwareLink() ) . "\n";
 233+ $dbSupport .= wfMsgNoTrans( "config-support-$type",
 234+ call_user_func( array( $db, 'getSoftwareLink' ) ) ) . "\n";
234235 }
235236 $this->addHTML( $this->parent->getInfoBox(
236237 wfMsg( 'config-support-info', $dbSupport ) ) );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r71449Followup r71441, break up messages by type, iterate over known types. Expand ...demon21:52, 22 August 2010

Status & tagging log