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