Code

Added acls for printer glpi
[gosa.git] / plugins / admin / systems / class_phoneGeneric.inc
index f43f06979279395c06d297eb7433dbb7a6a6b41d..2a98149b2c37c476b98104ca4a20dc6d2f196861 100644 (file)
@@ -53,9 +53,9 @@ class phoneGeneric extends plugin
 
   var $objectclasses= array("top", "goFonHardware");
 
-  function phonegeneric ($config, $dn= NULL)
+  function phonegeneric ($config, $dn= NULL, $parent= NULL)
   {
-    plugin::plugin ($config, $dn);
+    plugin::plugin ($config, $dn, $parent);
     $this->netConfigDNS = new termDNS($this->config,$this->dn,$this->objectclasses, true);
 
     /* Set base */
@@ -413,7 +413,7 @@ class phoneGeneric extends plugin
           "plPriority"    => 0,
           "plSection"     => array("administration"),
           "plCategory"    => array("phone" => array("description"  => _("Phone hardware"),
-                                                    "objectClass"  => _("goFonHardware"))),
+                                                    "objectClass"  => "goFonHardware")),
           "plProvidedAcls"=> array(
             "cn"                  => _("Name"),
             "description"         => _("Description"),