http://www.mediawiki.org/wiki/Special:Code/MediaWiki/56329
Revision: 56329
Author: siebrand
Date: 2009-09-14 19:56:22 +0000 (Mon, 14 Sep 2009)
Log Message:
-----------
Follow-up to r56324 per IRC comments by Nikerabbit: coding style updated
Modified Paths:
--------------
trunk/phase3/includes/LogEventsList.php
Modified: trunk/phase3/includes/LogEventsList.php
===================================================================
--- trunk/phase3/includes/LogEventsList.php 2009-09-14 19:44:40 UTC (rev
56328)
+++ trunk/phase3/includes/LogEventsList.php 2009-09-14 19:56:22 UTC (rev
56329)
@@ -593,11 +593,11 @@
if ( $msgKey ) {
$s = '<div class="mw-warning-with-logexcerpt">';
- 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 );
}
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs