From d3a761c4e8606d10f24b62446d63010b219fda62 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 2 Nov 2006 07:38:35 +0000 Subject: [PATCH] Removed old acl functions git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4982 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_plugin.inc | 2 +- include/class_tabs.inc | 11 ++--------- 2 files changed, 3 insertions(+), 10 deletions(-) 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() -- 2.30.2