From d17a515e74ad9e937a5eb228e02e3b027dcbcd83 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 12 Dec 2008 11:23:31 +0000 Subject: [PATCH] Do not remove classes/plugin from session if a lock was removed git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13280 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/admin/acl/main.inc | 1 - gosa-core/plugins/admin/departments/main.inc | 1 - gosa-core/plugins/admin/groups/main.inc | 1 - gosa-core/plugins/admin/ogroups/main.inc | 1 - 4 files changed, 4 deletions(-) diff --git a/gosa-core/plugins/admin/acl/main.inc b/gosa-core/plugins/admin/acl/main.inc index 8e551a60f..23461bb13 100644 --- a/gosa-core/plugins/admin/acl/main.inc +++ b/gosa-core/plugins/admin/acl/main.inc @@ -24,7 +24,6 @@ if ($remove_lock){ if(session::is_set('macl')){ $macl = session::get('macl'); $macl->remove_lock(); - session::un_set ('macl'); } } else { $display= "No headpage yet for this module"; diff --git a/gosa-core/plugins/admin/departments/main.inc b/gosa-core/plugins/admin/departments/main.inc index 565ed9f98..8eecd8276 100644 --- a/gosa-core/plugins/admin/departments/main.inc +++ b/gosa-core/plugins/admin/departments/main.inc @@ -24,7 +24,6 @@ if ($remove_lock){ if(session::is_set('department')){ $department = session::get('department'); $department->remove_lock(); - session::un_set ('department'); } } else { /* Create usermanagement object on demand */ diff --git a/gosa-core/plugins/admin/groups/main.inc b/gosa-core/plugins/admin/groups/main.inc index 5cb881575..a57e08dfa 100644 --- a/gosa-core/plugins/admin/groups/main.inc +++ b/gosa-core/plugins/admin/groups/main.inc @@ -24,7 +24,6 @@ if ($remove_lock){ if(session::is_set('groupManagement')){ $groupManagement = session::get('groupManagement'); $groupManagement->remove_lock(); - session::un_set ('groupManagement'); } } else { /* Create groupManagement object on demand */ diff --git a/gosa-core/plugins/admin/ogroups/main.inc b/gosa-core/plugins/admin/ogroups/main.inc index 2b1a74025..e571d7c21 100644 --- a/gosa-core/plugins/admin/ogroups/main.inc +++ b/gosa-core/plugins/admin/ogroups/main.inc @@ -26,7 +26,6 @@ if ($remove_lock){ if(session::is_set('ogroup')){ $ogroup = session::get('ogroup'); $ogroup->remove_lock(); - session::un_set ('ogroup'); } } else { -- 2.30.2