]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/ModHelper/ModHelperPlugin.php
ModHelper -> silence only, don't let them sandbox (it's too confusing atm without...
[quix0rs-gnu-social.git] / plugins / ModHelper / ModHelperPlugin.php
index 78818ebc872ced61092f85e579dad62545ec927a..2d0ae5b029d52eab4a63e0eb5d5f82eca2113779 100644 (file)
@@ -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;