From e7b51bf1a65e65f19d557db1593e4d7e940e5e47 Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 29 Dec 2009 12:08:04 +0000 Subject: [PATCH] Remove tabs git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14978 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/rsyslog/addons/rsyslog/main.inc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/gosa-plugins/rsyslog/addons/rsyslog/main.inc b/gosa-plugins/rsyslog/addons/rsyslog/main.inc index 5e95b4751..c97b8313f 100644 --- a/gosa-plugins/rsyslog/addons/rsyslog/main.inc +++ b/gosa-plugins/rsyslog/addons/rsyslog/main.inc @@ -22,7 +22,7 @@ /* Remove locks created by this plugin */ if ($remove_lock){ - if(session::is_set('rsyslogTabs')){ + if(session::is_set('rsyslogObject')){ // Nothing to unlock here } } @@ -30,25 +30,25 @@ if ($remove_lock){ /* Remove this plugin from session */ if ( $cleanup ){ - session::un_set('rsyslogTabs'); + session::un_set('rsyslogObject'); }else{ /* Create logview object on demand */ - if (!session::is_set('rsyslogTabs')){ - session::set('rsyslogTabs',new rsyslogTabs($config, $config->data['TABS']['RSYSLOGTABS'],"")); + if (!session::is_set('rsyslogObject')){ + session::set('rsyslogObject',new rsyslog($config)); } - $rsyslogTabs = session::get('rsyslogTabs'); + $rsyslogObject = session::get('rsyslogObject'); /* Execute formular */ -# $display= $rsyslogTabs->save_object(); - $display= $rsyslogTabs->execute (); + $display= $rsyslogObject->save_object(); + $display= $rsyslogObject->execute (); $display.= "\n"; /* Page header*/ $display= print_header(get_template_path('plugins/rsyslog/images/plugin.png'), _("System log view")).$display; /* Store changes in session */ - session::set('rsyslogTabs',$rsyslogTabs); + session::set('rsyslogObject',$rsyslogObject); } ?> -- 2.30.2