Code

Fixed printer creation via workstation/server extension
[gosa.git] / plugins / admin / systems / class_servDHCP.inc
index dd5fffe564f648c5f58ad59357d13e1e0f57ff93..8d468f948641e4c4d327ef79e33f9df9ae7019c2 100644 (file)
@@ -8,6 +8,7 @@ class servdhcp extends plugin
   var $cli_parameters= array("eins" => "Eins ist toll", "zwei" => "Zwei ist noch besser");
 
   /* attribute list for save action */
+  var $ignore_account= TRUE;
   var $attributes= array();
   var $objectclasses= array("whatever");
 
@@ -18,6 +19,9 @@ class servdhcp extends plugin
 
   function execute()
   {
+       /* Call parent execute */
+       plugin::execute();
+
     /* Fill templating stuff */
     $smarty= get_smarty();
     $display= "";
@@ -57,8 +61,9 @@ class servdhcp extends plugin
   /* Check supplied data */
   function check()
   {
-    $message= array();
-
+    /* Call common method to give check the hook */
+    $message= plugin::check();
+    
     return ($message);
   }