X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Fplugins%2Fadmin%2Facl%2Fclass_aclManagement.inc;h=6db90f32fb63cc137bcdaf6f8aa45e7f6483a16c;hb=5ceeec7a235bded42e4eea8b82e544e4825e9796;hp=7a1b2ab2b2895bab6bd00b6f4aa156b161e0dc13;hpb=c0d3a222f41c337ce2abdc0b45a1d0bac863dbee;p=gosa.git diff --git a/gosa-core/plugins/admin/acl/class_aclManagement.inc b/gosa-core/plugins/admin/acl/class_aclManagement.inc index 7a1b2ab2b..6db90f32f 100644 --- a/gosa-core/plugins/admin/acl/class_aclManagement.inc +++ b/gosa-core/plugins/admin/acl/class_aclManagement.inc @@ -54,7 +54,7 @@ class aclManagement extends plugin /* Call parent execute */ plugin::execute(); - $_SESSION['LOCK_VARS_TO_USE'] = array("/^list/","/^id_/","/^list_acl_role_del/","/^list_acl_del/"); + session::set('LOCK_VARS_TO_USE',array("/^list/","/^id_/","/^list_acl_role_del/","/^list_acl_del/")); $smarty = get_smarty(); // Smarty instance $s_action = ""; // Contains the action to be taken @@ -192,7 +192,7 @@ class aclManagement extends plugin } /* Set ACL and move DN to the headline */ - $_SESSION['objectinfo']= $this->dn; + session::set('objectinfo',$this->dn); }else{ print_red(_("You are not allowed to edit this acl.")); } @@ -204,7 +204,7 @@ class aclManagement extends plugin ********************/ if(isset($_POST['delete_lock'])){ del_lock ($this->dn); - unset($_SESSION['objectinfo']); + session::un_set('objectinfo'); } /* Reset all relevant data, if we get a _cancel request */ @@ -214,7 +214,7 @@ class aclManagement extends plugin unset ($this->acltabs); } $this->acltabs= NULL; - unset ($_SESSION['objectinfo']); + session::un_set('objectinfo'); } @@ -297,7 +297,7 @@ class aclManagement extends plugin /* Check locking, save current plugin in 'back_plugin', so the dialog knows where to return. */ if (($acl= get_lock($this->dn)) != ""){ - $_SESSION['LOCK_VARS_TO_USE'] = array("/^list_acl_edit/","/^list_acl_del/","/^id_/"); + session::set('LOCK_VARS_TO_USE',array("/^list_acl_edit/","/^list_acl_del/","/^id_/")); return(gen_locked_message ($acl, $this->dn)); } @@ -387,7 +387,7 @@ class aclManagement extends plugin unset ($this->acltabs); $this->acltabs= NULL; - unset ($_SESSION['objectinfo']); + session::un_set('objectinfo'); } } else { /* Ok. There seem to be errors regarding to the tab data,