Code

Added mapping for "halt" to "localboot"
[gosa.git] / plugins / admin / systems / class_servDHCP.inc
index 9f4a6e867c19a278a84431ab82d4fb4b3ad976da..be93e60c130683e94211a0ad66e487b7e657ee92 100644 (file)
@@ -2,19 +2,14 @@
 
 class servdhcp extends plugin
 {
-  /* CLI vars */
-  var $cli_summary= "Manage server basic objects";
-  var $cli_description= "Some longer text\nfor help";
-  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");
 
-  function servdhcp ($config, $dn= NULL)
+  function servdhcp ($config, $dn= NULL, $parent= NULL)
   {
-    plugin::plugin ($config, $dn);
+    plugin::plugin ($config, $dn, $parent);
   }
 
   function execute()
@@ -61,8 +56,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);
   }