Code

Updated workstation - Startup
[gosa.git] / plugins / admin / systems / class_dhcpGroup.inc
index e29ae0332f4430f54ab174067068c95cca908446..cbe987da8c538d95166ff7ea6b967d9084192aa9 100644 (file)
@@ -79,10 +79,12 @@ class dhcpGroup extends dhcpPlugin
 
 
   /* Check values */
-  function check($cache)
+  function check()
   {
     $message= array();
 
+    $cache = $this->parent->dhcpObjectCache;
+
     /* All required fields are set? */
     if ($this->cn == ""){
       $message[]= _("Required field 'Name' is not filled.");