Code

Updated infoPage
[gosa.git] / gosa-core / include / class_pluglist.inc
index 80d64680e96903f8e9f1fe35c7a5416c6d2c2242..d088d4aae76f7354e139f3adb602cccc8e8cae12 100644 (file)
@@ -187,6 +187,10 @@ class pluglist
             $acl_to_check = trim($acl_to_check);
             $acl_to_check = preg_replace("/ /","",$acl_to_check);
 
+            if($acl_to_check == "none"){
+                $this->silly_cache[$aclname]= TRUE;
+                return(TRUE);
+            }
 
             /* Check if the given acl tag is only valid for self acl entries  
              *          <plugin acl="users/user:self" class="user"...  
@@ -510,6 +514,14 @@ class pluglist
     }
 
 
+    /*! \brief    Returns the plugins id for a given class.
+     */
+    function get_class($index)
+    {
+        return($this->pluginList[$index]);
+    }
+
+
     /*! \brief  This function checks if we are allowed to view the plugin with the given id 
      *
      *  @param  $plug_id  Integer  The ID of the plugin.