summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-10-13 12:04:20 -0700
committerBrion Vibber <brion@pobox.com>2010-10-13 12:04:20 -0700
commit6c77d86b7f39c35eac0fcc3f13c0beba3e694318 (patch)
tree5600f0dd02e22886b1cfd3296171db5ef366471a
parentbca215563ff7aaee5c253b3a55cadc3b02116ef9 (diff)
parent90e54f6cf08f74478d152c329363bcd77eea6329 (diff)
Merge branch 'master' into 0.9.x
-rw-r--r--plugins/ModHelper/ModHelperPlugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ModHelper/ModHelperPlugin.php b/plugins/ModHelper/ModHelperPlugin.php
index 78818ebc8..2d0ae5b02 100644
--- a/plugins/ModHelper/ModHelperPlugin.php
+++ b/plugins/ModHelper/ModHelperPlugin.php
@@ -41,7 +41,7 @@ class ModHelperPlugin extends Plugin
function onUserRightsCheck($profile, $right, &$result)
{
- if ($right == Right::SILENCEUSER || $right == Right::SANDBOXUSER) {
+ if ($right == Right::SILENCEUSER) {
// Hrm.... really we should confirm that the *other* user isn't privleged. :)
if ($profile->hasRole('modhelper')) {
$result = true;