summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-11-07 23:15:59 -0500
committerEvan Prodromou <evan@status.net>2009-11-07 23:15:59 -0500
commit144f8171099aa6d1f3807554443573195c26f986 (patch)
treef2281953ee78c19fc3740da262067428d0b4704d /classes
parent9d026600a9525ab78a6031b2acbfd388cbde48ff (diff)
add a break to switch in hasRight()
Diffstat (limited to 'classes')
-rw-r--r--classes/User.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/User.php b/classes/User.php
index 546406f71..6162f83b8 100644
--- a/classes/User.php
+++ b/classes/User.php
@@ -710,6 +710,7 @@ class User extends Memcached_DataObject
break;
case Right::CONFIGURESITE:
$result = $this->hasRole(User_role::ADMINISTRATOR);
+ break;
default:
$result = false;
break;