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