From b0fbc438d2e876e9bef87a83891d80e83160c064 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Mon, 14 Sep 2009 19:56:22 +0000 Subject: [PATCH] Follow-up to r56324 per IRC comments by Nikerabbit: coding style updated --- includes/LogEventsList.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); } } -- 2.20.1