summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5a2b8a4)
raw | patch | inline | side by side (parent: 5a2b8a4)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 11 May 2006 10:51:59 +0000 (10:51 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 11 May 2006 10:51:59 +0000 (10:51 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3291 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 b2feb33eafe0015affeeff1c72e6855f5650fff9..f9bd648b851b3ecd3e232340ecac775f47a5b921 100644 (file)
/* 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'];
}
$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);
}
}
natcasesort ($this->departments);
reset ($this->departments);
-
- /* Unset global department list */
- unset($_SESSION['cached_departments']);
}
function remove_from_parent()