From 1a01d8b9bd726260d3edad142d04979d2b29f5d2 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 23 Dec 2009 15:16:50 +0000 Subject: [PATCH] Some changes git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14946 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/admin/acl/class_aclManagement.inc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gosa-core/plugins/admin/acl/class_aclManagement.inc b/gosa-core/plugins/admin/acl/class_aclManagement.inc index cafc830bb..35f412745 100644 --- a/gosa-core/plugins/admin/acl/class_aclManagement.inc +++ b/gosa-core/plugins/admin/acl/class_aclManagement.inc @@ -28,12 +28,12 @@ class aclManagement extends management // Tab definition protected $tabClass = "aclroletab"; - protected $tabType = "ACLROLETABS"; + protected $tabType = NULL; protected $aclCategory = "acl"; protected $aclPlugin = "acl"; protected $objectName = "acl"; - function __construct($config,$ui) + function __construct(&$config,$ui) { $this->config = $config; $this->ui = $ui; @@ -62,16 +62,16 @@ class aclManagement extends management $this->snapHandler = new SnapshotHandler($this->config); } - parent::__construct($config, $ui, "acl", $headpage); + parent::__construct($this->config, $ui, "acl", $headpage); } function removeEntryConfirmed($action="",$target=array(),$all=array(), $altTabClass="",$altTabType="",$altAclCategory="") { + $this->config->data['TABS'][$this->tabClass] =NULL; $tabType = $this->tabType; $tabClass = $this->tabClass; $aclCategory = $this->aclCategory; - $this->config->data['TABS'][$this->tabType] = NULL; @DEBUG (DEBUG_TRACE, __LINE__, __FUNCTION__, __FILE__,$target,"Entry removel confirmed!"); @@ -111,11 +111,11 @@ class aclManagement extends management function editEntry($action="",$target=array(),$all=array(), $altTabClass ="", $altTabType = "", $altAclCategory="") { + $this->config->data['TABS'][$this->tabClass] =NULL; $this->skipFooter = TRUE; if(count($target) == 1){ // Set dummy tab object... - $this->config->data['TABS'][$this->tabType] = NULL; $this->dn = array_pop($target); $headpage = $this->getHeadpage(); if($headpage->getType($this->dn) == "gosaRole"){ -- 2.30.2