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