From: Brion Vibber Date: Wed, 13 Oct 2010 17:00:16 +0000 (-0700) Subject: ModHelper -> silence only, don't let them sandbox (it's too confusing atm without... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=90e54f6cf08f74478d152c329363bcd77eea6329;p=quix0rs-gnu-social.git ModHelper -> silence only, don't let them sandbox (it's too confusing atm without a good audit trail) --- 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;