diff --git a/gosa-core/plugins/admin/departments/main.inc b/gosa-core/plugins/admin/departments/main.inc
index 565ed9f9874311fa2a2b72b1a4a8cd86658a68bc..8eecd8276015cdb0b69de9570c79c687be5a0448 100644 (file)
if(session::is_set('department')){
$department = session::get('department');
$department->remove_lock();
- session::un_set ('department');
}
} else {
/* Create usermanagement object on demand */