Code

Fixed remove from parent for dns extension
[gosa.git] / plugins / admin / systems / class_servDHCP.inc
index 9f4a6e867c19a278a84431ab82d4fb4b3ad976da..f9d6fe1d626facd3b66d351a4d6b85c0b02d9bd2 100644 (file)
@@ -12,9 +12,9 @@ class servdhcp extends plugin
   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 +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);
   }