]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
ModHelper -> silence only, don't let them sandbox (it's too confusing atm without...
authorBrion Vibber <brion@pobox.com>
Wed, 13 Oct 2010 17:00:16 +0000 (10:00 -0700)
committerBrion Vibber <brion@pobox.com>
Wed, 13 Oct 2010 17:00:16 +0000 (10:00 -0700)
plugins/ModHelper/ModHelperPlugin.php

index 78818ebc872ced61092f85e579dad62545ec927a..2d0ae5b029d52eab4a63e0eb5d5f82eca2113779 100644 (file)
@@ -41,7 +41,7 @@ class ModHelperPlugin extends Plugin
 
     function onUserRightsCheck($profile, $right, &$result)
     {
 
     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;
             // Hrm.... really we should confirm that the *other* user isn't privleged. :)
             if ($profile->hasRole('modhelper')) {
                 $result = true;