r91143 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91142‎ | r91143 | r91144 >
Date:23:45, 29 June 2011
Author:reedy
Status:ok
Tags:
Comment:
Add braces (lying in my working copy)
Modified paths:
  • /trunk/extensions/CentralAuth/CentralAuth.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralAuth/CentralAuth.php
@@ -244,8 +244,9 @@
245245 $wgLogActions['gblrights/groupprms2'] = 'centralauth-rightslog-entry-groupperms2';
246246 $wgLogActions['gblrights/groupprms3'] = 'centralauth-rightslog-entry-groupperms3';
247247
248 -foreach ( array( 'newset', 'setrename', 'setnewtype', 'setchange', 'deleteset' ) as $type )
 248+foreach ( array( 'newset', 'setrename', 'setnewtype', 'setchange', 'deleteset' ) as $type ) {
249249 $wgLogActionsHandlers["gblrights/{$type}"] = 'efHandleWikiSetLogEntry';
 250+}
250251
251252 function efHandleWikiSetLogEntry( $type, $action, $title, $skin, $params, $filterWikilinks = false ) {
252253 $link = $skin ? $skin->makeLinkObj( $title, htmlspecialchars( $params[0] ) ) : $params[0];

Status & tagging log