summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 137303c)
raw | patch | inline | side by side (parent: 137303c)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 29 Dec 2009 12:08:04 +0000 (12:08 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 29 Dec 2009 12:08:04 +0000 (12:08 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14978 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/rsyslog/addons/rsyslog/main.inc | patch | blob | history |
diff --git a/gosa-plugins/rsyslog/addons/rsyslog/main.inc b/gosa-plugins/rsyslog/addons/rsyslog/main.inc
index 5e95b475154a211a699455a6e75ea48458ff5eed..c97b8313ffd2630122be58806512d89018f2a557 100644 (file)
/* Remove locks created by this plugin
*/
if ($remove_lock){
- if(session::is_set('rsyslogTabs')){
+ if(session::is_set('rsyslogObject')){
// Nothing to unlock here
}
}
/* 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.= "<input type=\"hidden\" name=\"ignore\">\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);
}
?>