r107021 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r107020‎ | r107021 | r107022 >
Date:00:49, 22 December 2011
Author:grafzahl
Status:ok
Tags:
Comment:
call_user_func_array() is not actually necessary
Modified paths:
  • /trunk/extensions/Score/Score.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Score/Score.body.php
@@ -54,12 +54,9 @@
5555 return Html::rawElement(
5656 'span',
5757 array( 'class' => 'error' ),
58 - call_user_func_array( array(
59 - wfMessage( $this->getMessage() )
60 - ->inContentLanguage(),
61 - 'params'
62 - ),
63 - $this->parameters )
 58+ wfMessage( $this->getMessage() )
 59+ ->inContentLanguage()
 60+ ->params( $this->parameters )
6461 ->parse()
6562 );
6663 }

Status & tagging log