diff --git a/gosa-core/plugins/admin/acl/class_aclManagement.inc b/gosa-core/plugins/admin/acl/class_aclManagement.inc
index 7a1b2ab2b2895bab6bd00b6f4aa156b161e0dc13..6db90f32fb63cc137bcdaf6f8aa45e7f6483a16c 100644 (file)
/* 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
}
/* 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."));
}
********************/
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 */
unset ($this->acltabs);
}
$this->acltabs= NULL;
- unset ($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
}
/* 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));
}
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,