From: hickert Date: Wed, 17 May 2006 06:37:25 +0000 (+0000) Subject: Fixed department reload X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7556c1f77e959a9163e78b06a528d453e228c4d1;p=gosa.git Fixed department reload git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3377 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/departments/class_departmentManagement.inc b/plugins/admin/departments/class_departmentManagement.inc index cdfea0c47..947b541af 100644 --- a/plugins/admin/departments/class_departmentManagement.inc +++ b/plugins/admin/departments/class_departmentManagement.inc @@ -67,10 +67,6 @@ class departmentManagement extends plugin $_SESSION['LOCK_VARS_TO_USE'] = array("/^act$/","/^id$/","/^dep_edit_.*/","/^dep_del_.*/"); /* Reload departments */ - $this->config->get_departments(); - $this->config->make_idepartments(); - $config= $this->config; - $smarty = get_smarty(); $display = ""; $s_action = ""; // Will contain an action, like del or edit @@ -396,6 +392,11 @@ class departmentManagement extends plugin function save_object() { + /* reload department */ + $this->config->get_departments(); + $config = $this->config; + + $this->config->make_idepartments(); $this->DivListDepartment->save_object(); }