Code

renamed opsi function
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 28 Aug 2008 12:53:48 +0000 (12:53 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 28 Aug 2008 12:53:48 +0000 (12:53 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12297 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/opsi/admin/opsi/class_opsi.inc
gosa-plugins/opsi/admin/opsi/class_opsi_product_config.inc
gosa-plugins/opsi/admin/opsi/class_opsigeneric.inc

index 0082123cd81552ac5f2425c84cd8e3d6ac04d7f5..a60ce9085464a6a735a91787dbcceec0a2f2e345 100644 (file)
@@ -57,6 +57,11 @@ class opsi extends gosaSupportDaemon
     $this->target = "00:01:6c:9d:b9:fa";
   }
 
+  
+  public function enabled()
+  {
+    return(TRUE);
+  }
 
   /******************
     Opsi handling 
index 5a949bbe2d358a596fc598c8c7586b09371068f3..5ff41aa5a8e316889cb237afbf0b3769df1639b6 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-class opsi_product_config extends plugin
+class opsiProductConfig extends plugin
 {
   private $product;
   private $cfg;
index e7784775b5eb2c15c9a3af1a81b3bbb061a29313..759be98aed10ce853a14a25c83cc885f4c20d574 100644 (file)
@@ -330,7 +330,7 @@ class opsigeneric extends plugin
     if(isset($_POST['cancel_properties']) && is_object($this->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;
         }