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