r76843 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76842‎ | r76843 | r76844 >
Date:23:02, 16 November 2010
Author:reedy
Status:ok
Tags:
Comment:
Clearing up this working copy. Adding a couple of braces
Modified paths:
  • /trunk/phase3/includes/User.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/User.php
@@ -2191,8 +2191,9 @@
21922192 * @return Boolean: True if action is allowed, else false
21932193 */
21942194 function isAllowed( $action = '' ) {
2195 - if ( $action === '' )
 2195+ if ( $action === '' ) {
21962196 return true; // In the spirit of DWIM
 2197+ }
21972198 # Patrolling may not be enabled
21982199 if( $action === 'patrol' || $action === 'autopatrol' ) {
21992200 global $wgUseRCPatrol, $wgUseNPPatrol;

Status & tagging log