From efd7ca9808103ca39192891a2a47c8d2e0e037ea Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 11 May 2006 10:51:59 +0000 Subject: [PATCH] Re-applied r3288 git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3291 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../admin/departments/class_departmentManagement.inc | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/plugins/admin/departments/class_departmentManagement.inc b/plugins/admin/departments/class_departmentManagement.inc index b2feb33ea..f9bd648b8 100644 --- a/plugins/admin/departments/class_departmentManagement.inc +++ b/plugins/admin/departments/class_departmentManagement.inc @@ -66,14 +66,15 @@ class departmentManagement extends plugin /* Reload departments */ $this->config->get_departments(); + $this->config->make_idepartments(); + $_SESSION['config']= $this->config; + $smarty = get_smarty(); $display = ""; $depfilter = get_global("depfilter"); $s_action = ""; // Will contain an action, like del or edit $s_entry = ""; // The entry name for edit delete -... - $this->config->make_idepartments(); - if (isset($_POST['regex'])){ $depfilter['regex']= $_POST['regex']; } @@ -229,8 +230,7 @@ class departmentManagement extends plugin $this->deptabs->save(true); $this->deptabs->by_object['department']->recursive_move("","",true); $this->reload (); - /* Group has been saved successfully, remove lock from - LDAP. */ + /* Group has been saved successfully, remove lock from LDAP. */ if ($this->dn != "new"){ del_lock ($this->dn); } @@ -445,9 +445,6 @@ class departmentManagement extends plugin } natcasesort ($this->departments); reset ($this->departments); - - /* Unset global department list */ - unset($_SESSION['cached_departments']); } function remove_from_parent() -- 2.30.2