Code

Replace stream_get_contents() which is not php4 compatible
[gosa.git] / plugins / admin / systems / class_servDB.inc
index 6d4e25bc79449849a299a29c62723b6bebefe22c..1275580057ad572b3f278fbbe740a87c4e8fa361 100644 (file)
@@ -51,9 +51,9 @@ class servdb extends plugin
                           "goFonServer" => array("goFonAdmin", "goFonPassword",
                                                 "goFonAreaCode", "goFonCountryCode"));
 
-  function servdb ($config, $dn= NULL)
+  function servdb ($config, $dn= NULL, $parent= NULL)
   {
-    plugin::plugin ($config, $dn);
+    plugin::plugin ($config, $dn, $parent);
 
     /* Make dynamic list of objectClasses */
     foreach ($this->additionaloc as $oc => $dummy){
@@ -247,7 +247,7 @@ class servdb 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");