summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bdd7093)
raw | patch | inline | side by side (parent: bdd7093)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 22 Feb 2006 10:49:52 +0000 (10:49 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 22 Feb 2006 10:49:52 +0000 (10:49 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2723 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/departments/class_departmentManagement.inc | patch | blob | history |
diff --git a/plugins/admin/departments/class_departmentManagement.inc b/plugins/admin/departments/class_departmentManagement.inc
index 2a1e2e523a85bdc5efbe9d061dff3a96d6cc2b7f..89db9a1768caab0ff5cb34db36efbf598b452437 100644 (file)
/* Call parent execute */
plugin::execute();
+ $_SESSION['LOCK_VARS_TO_USE'] = array("/^act$/","/^id$/","/^dep_edit_.*/","/^dep_del_.*/");
+
/* Reload departments */
$this->config->departments = get_departments();
$smarty = get_smarty();
* The entry which will be edited is defined in $s_entry
*/
if ($s_action=="edit"){
-
$this->dn= $this->config->departments[trim($s_entry)];
if (($user= get_lock($this->dn)) != ""){
* Cancel dialog
*/
if (isset($_POST['edit_cancel']) || isset($_POST['delete_cancel']) ||
- isset($_POST['delete_department_confirm']) || isset($_POST['delete_lock'])){
+ isset($_POST['delete_department_confirm'])){
del_lock ($this->dn);
unset($this->depdabs);