From: Siebrand Mazeland Date: Mon, 14 Sep 2009 19:56:22 +0000 (+0000) Subject: Follow-up to r56324 per IRC comments by Nikerabbit: coding style updated X-Git-Tag: 1.31.0-rc.0~39735 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=b0fbc438d2e876e9bef87a83891d80e83160c064;p=lhc%2Fweb%2Fwiklou.git Follow-up to r56324 per IRC comments by Nikerabbit: coding style updated --- diff --git a/includes/LogEventsList.php b/includes/LogEventsList.php index d70a4da857..700c140642 100644 --- a/includes/LogEventsList.php +++ b/includes/LogEventsList.php @@ -593,11 +593,11 @@ class LogEventsList { if ( $msgKey ) { $s = '
'; - if ( sizeof( $msgKey ) == 1 ) { + if ( count( $msgKey ) == 1 ) { $s .= wfMsgExt( $msgKey[0], array('parse') ); } else { // Process additional arguments $args = $msgKey; - unset( $args[0] ); + array_shift( $args ); $s .= wfMsgExt( $msgKey[0], array('parse'), $args ); } }