From 90e54f6cf08f74478d152c329363bcd77eea6329 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Wed, 13 Oct 2010 10:00:16 -0700 Subject: [PATCH] ModHelper -> silence only, don't let them sandbox (it's too confusing atm without a good audit trail) --- plugins/ModHelper/ModHelperPlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/ModHelper/ModHelperPlugin.php b/plugins/ModHelper/ModHelperPlugin.php index 78818ebc87..2d0ae5b029 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; -- 2.39.2