Code

Added acls for printer glpi
[gosa.git] / plugins / admin / systems / class_servKolab.inc
index c1e33222359f83e5d53b9e87fd89076d95105b0f..e7b78bf035d34de914ed4fa688f374d36604e4cd 100644 (file)
@@ -40,14 +40,14 @@ class servkolab extends plugin {
   var $DisplayName  = "Kolab mail service";
   var $StatusFlag   = "";
 
-  function servkolab($config, $dn = NULL) 
+  function servkolab($config, $dn = NULL, $parent= NULL
   {
     /* Setting the hostname and tell this Plugin that we are the kolab extension*/
     $this->hostname = preg_replace('/^cn=([^,]+),.*$/', '\1', $dn);
     $this->dn       = "k=kolab,".$config->current['BASE'];
 
     /* Load variables, if given*/
-    plugin::plugin($config, $this->dn);
+    plugin::plugin($config, $this->dn, $parent);
 
     /* Copy needed attributes */
     foreach($this->attributes as $val) {
@@ -334,7 +334,7 @@ class servkolab extends plugin {
     /* Optionally execute a command after we're done */
     if ($this->initially_was_account == $this->is_account) {
       if ($this->is_modified) {
-        $this->handle_post_events("mofify");
+        $this->handle_post_events("modify");
       }
     } else {
       $this->handle_post_events("add");