dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3574036
)
Clearing up this working copy. Adding a couple of braces
author
Sam Reed
<reedy@users.mediawiki.org>
Tue, 16 Nov 2010 23:02:08 +0000
(23:02 +0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Tue, 16 Nov 2010 23:02:08 +0000
(23:02 +0000)
includes/User.php
patch
|
blob
|
history
diff --git
a/includes/User.php
b/includes/User.php
index
fe95fb1
..
dbe6b17
100644
(file)
--- 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;