From: hickert Date: Thu, 2 Nov 2006 07:38:35 +0000 (+0000) Subject: Removed old acl functions X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d3a761c4e8606d10f24b62446d63010b219fda62;p=gosa.git Removed old acl functions git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4982 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_plugin.inc b/include/class_plugin.inc index 642676dc0..4cb6f6076 100644 --- a/include/class_plugin.inc +++ b/include/class_plugin.inc @@ -1464,7 +1464,7 @@ class plugin /* Get all allowed bases to move an object to or to create a new object. Idepartments also contains all base departments which lead to the allowed bases */ - function get_allowed_bases($category = "") + function get_allowed_bases($category = "",$Move = false) { $ui = get_userinfo(); $deps = array(); diff --git a/include/class_tabs.inc b/include/class_tabs.inc index c71fa9492..701631f4a 100644 --- a/include/class_tabs.inc +++ b/include/class_tabs.inc @@ -175,15 +175,8 @@ class tabs function set_acl($acl) { - /* Set local acl */ - $this->acl= $acl; - - /* Setup for all plugins */ - foreach ($this->by_object as $key => $obj){ - $sacl= get_module_permission($acl, "$key", $this->dn); - $obj->acl= $sacl; - $this->by_object[$key]= $obj; - } + /* Look for attribute in ACL */ + trigger_error("Don't use tabs::set_acl() its obsolete."); } function delete()