From: Sam Reed Date: Tue, 16 Nov 2010 23:02:08 +0000 (+0000) Subject: Clearing up this working copy. Adding a couple of braces X-Git-Tag: 1.31.0-rc.0~33845 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/%7B%7B%20url_for%28%27admin_users%27%29%20%7D%7D?a=commitdiff_plain;h=de3300a49d57e132fa623e0659ef12b99b14d9f6;p=lhc%2Fweb%2Fwiklou.git Clearing up this working copy. Adding a couple of braces --- diff --git a/includes/User.php b/includes/User.php index fe95fb1bef..dbe6b17b47 100644 --- a/includes/User.php +++ b/includes/User.php @@ -2191,8 +2191,9 @@ class User { * @return Boolean: True if action is allowed, else false */ function isAllowed( $action = '' ) { - if ( $action === '' ) + if ( $action === '' ) { return true; // In the spirit of DWIM + } # Patrolling may not be enabled if( $action === 'patrol' || $action === 'autopatrol' ) { global $wgUseRCPatrol, $wgUseNPPatrol;