From de3300a49d57e132fa623e0659ef12b99b14d9f6 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Tue, 16 Nov 2010 23:02:08 +0000 Subject: [PATCH] Clearing up this working copy. Adding a couple of braces --- includes/User.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.20.1