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