From: cajus Date: Fri, 8 Sep 2006 10:51:13 +0000 (+0000) Subject: Fixed double department reload X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=85fcf14fb3e8488a965704d58f7ac68f47d4a913;p=gosa.git Fixed double department reload git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4632 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/departments/class_departmentManagement.inc b/plugins/admin/departments/class_departmentManagement.inc index 608d6298a..8ba8550ea 100644 --- a/plugins/admin/departments/class_departmentManagement.inc +++ b/plugins/admin/departments/class_departmentManagement.inc @@ -202,11 +202,6 @@ class departmentManagement extends plugin $this->RecursiveRemoveRequested = true; } - $this->config->get_departments($this->dn); - $this->config->make_idepartments(); - - $this->DivListDepartment->config=$this->config; - /* This var indicated that there is an object which isn't saved right now. */ $this->ObjectInSaveMode = true; @@ -402,9 +397,9 @@ class departmentManagement extends plugin { /* reload department */ $this->config->get_departments(); - $config = $this->config; $this->config->make_idepartments(); + $this->DivListDepartment->config= $this->config; $this->DivListDepartment->save_object(); }