From dd282365b6373e2eac1c660614df99e1de4b4c2c Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 28 Aug 2008 12:53:48 +0000 Subject: [PATCH] renamed opsi function git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12297 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/opsi/admin/opsi/class_opsi.inc | 5 +++++ gosa-plugins/opsi/admin/opsi/class_opsi_product_config.inc | 2 +- gosa-plugins/opsi/admin/opsi/class_opsigeneric.inc | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gosa-plugins/opsi/admin/opsi/class_opsi.inc b/gosa-plugins/opsi/admin/opsi/class_opsi.inc index 0082123cd..a60ce9085 100644 --- a/gosa-plugins/opsi/admin/opsi/class_opsi.inc +++ b/gosa-plugins/opsi/admin/opsi/class_opsi.inc @@ -57,6 +57,11 @@ class opsi extends gosaSupportDaemon $this->target = "00:01:6c:9d:b9:fa"; } + + public function enabled() + { + return(TRUE); + } /****************** Opsi handling diff --git a/gosa-plugins/opsi/admin/opsi/class_opsi_product_config.inc b/gosa-plugins/opsi/admin/opsi/class_opsi_product_config.inc index 5a949bbe2..5ff41aa5a 100644 --- a/gosa-plugins/opsi/admin/opsi/class_opsi_product_config.inc +++ b/gosa-plugins/opsi/admin/opsi/class_opsi_product_config.inc @@ -1,6 +1,6 @@ dialog)){ $this->dialog = NULL; } - if(isset($_POST['save_properties']) && ($this->dialog instanceof opsi_product_config)){ + if(isset($_POST['save_properties']) && ($this->dialog instanceof opsiProductConfig)){ $this->dialog->save_object(); $pro = $this->dialog->get_product(); $CFG = $this->dialog->get_cfg(); @@ -386,7 +386,7 @@ class opsigeneric extends plugin } if(preg_match("/^edit_lp_/",$name)){ $product = preg_replace("/^edit_lp_(.*)_.$/","\\1",$name); - $this->dialog = new opsi_product_config($this->config, + $this->dialog = new opsiProductConfig($this->config, $product,$this->a_selectedLocalProducts[$product]['CFG'],$this->hostId); break; } -- 2.30.2