summaryrefslogtreecommitdiff
path: root/plugins/ModHelper/ModHelperPlugin.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-10-13 10:00:16 -0700
committerBrion Vibber <brion@pobox.com>2010-10-13 10:00:16 -0700
commit90e54f6cf08f74478d152c329363bcd77eea6329 (patch)
tree1f92b0f4a0c563799530a5baff149c7c0a9bd837 /plugins/ModHelper/ModHelperPlugin.php
parent9d9e80ea2135c09d911bb60ce01852d77fbb3365 (diff)
ModHelper -> silence only, don't let them sandbox (it's too confusing atm without a good audit trail)
Diffstat (limited to 'plugins/ModHelper/ModHelperPlugin.php')
-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;