Code

Updated workstation - Startup
[gosa.git] / plugins / admin / systems / class_dhcpGroup.inc
index eb61c48225a8b32e98a8bdd2bbc11c06f30937ed..cbe987da8c538d95166ff7ea6b967d9084192aa9 100644 (file)
@@ -23,7 +23,7 @@ class dhcpGroup extends dhcpPlugin
   /* attribute list for save action */
   var $objectclasses= array('top', 'dhcpGroup', 'dhcpOptions');
 
-  function dhcpGroup($attrs)
+  function dhcpGroup(&$attrs)
   {
     /* Load statements / options */
     dhcpPlugin::dhcpPlugin($attrs);
@@ -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.");