Kaynağa Gözat

#31 - Studio: Minor fixes and improvements.

AntonLV 11 yıl önce
ebeveyn
işleme
b4ed52bd8b
1 değiştirilmiş dosya ile 0 ekleme ve 3 silme
  1. 0 3
      inc/classes/BxDolAcl.php

+ 0 - 3
inc/classes/BxDolAcl.php

@@ -135,9 +135,6 @@ class BxDolAcl extends BxDol implements iBxDolSingleton
         if (!$iPermissions)
             return false;
 
-        if (false === $iProfileId && ($iPermissions&(pow(2, MEMBERSHIP_ID_ADMINISTRATOR - 1))) && isAdmin())
-            return true;
-
         if (false === $iProfileId) {
             bx_import('BxDolProfile');
             $oProfile = BxDolProfile::getInstance();