summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 01f6427)
raw | patch | inline | side by side (parent: 01f6427)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 2 Nov 2006 07:38:35 +0000 (07:38 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 2 Nov 2006 07:38:35 +0000 (07:38 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4982 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_plugin.inc | patch | blob | history | |
include/class_tabs.inc | patch | blob | history |
index 642676dc054863b760191d3606c19eedc6d88944..4cb6f6076f12e7c8cc523689fd1c03b618f4e60a 100644 (file)
--- a/include/class_plugin.inc
+++ b/include/class_plugin.inc
/* 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 c71fa94920e3988584c1371a0642647d7e7d1145..701631f4a51b30af1580aede32a08b95dc3e0d3b 100644 (file)
--- a/include/class_tabs.inc
+++ b/include/class_tabs.inc
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()