summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: db7a9fc)
raw | patch | inline | side by side (parent: db7a9fc)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 13 Sep 2010 13:38:46 +0000 (13:38 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 13 Sep 2010 13:38:46 +0000 (13:38 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19627 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/admin/acl/main.inc | patch | blob | history |
index 0b9182f99770bcac5ae8689cfca20c1b409b43d2..24631780c40c716de19a47cc323a7cdeb005c08d 100644 (file)
*/
/* Remove locks created by this plugin
-*/
+ */
if ($remove_lock){
- if(session::is_set('aclManagement')){
- $macl = session::get('aclManagement');
- $macl->remove_lock();
- }
+ if(session::is_set('aclManagement')){
+ $macl = session::get('aclManagement');
+ $macl->remove_lock();
+ session::un_set('aclManagement');
+ }
}
/* Remove this plugin from session
-*/
+ */
if ( $cleanup ){
- session::un_set('aclManagement');
+ session::un_set('aclManagement');
}else{
- /* Create usermanagement object on demand */
- if (!session::is_set('aclManagement')){
- $aclManagement= new aclManagement ($config, $ui);
- session::set('aclManagement',$aclManagement);
- }
- $aclManagement = session::get('aclManagement');
- $display= $aclManagement->execute();
+ /* Create usermanagement object on demand */
+ if (!session::is_set('aclManagement')){
+ $aclManagement= new aclManagement ($config, $ui);
+ session::set('aclManagement',$aclManagement);
+ }
+ $aclManagement = session::get('aclManagement');
+ $display= $aclManagement->execute();
- /* Reset requested? */
- if (isset($_GET['reset']) && $_GET['reset'] == 1){
- session::un_set ('aclManagement');
- }
+ /* Reset requested? */
+ if (isset($_GET['reset']) && $_GET['reset'] == 1){
+ session::un_set ('aclManagement');
+ }
- /* Show and save dialog */
- session::set('aclManagement',$aclManagement);
+ /* Show and save dialog */
+ session::set('aclManagement',$aclManagement);
}
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: