Code

More speed optimizations
[gosa.git] / plugins / admin / groups / class_groupMail.inc
index 9bd73c3dffedad7be86e6ebe76c66536e78af1ff..31557a6c4c12aa858266cacd3f4ca4826feddfa5 100644 (file)
@@ -55,11 +55,11 @@ class mailgroup extends plugin
   var $objectclasses= array("gosaMailAccount");
 
 
-  function mailgroup ($config, $dn= NULL, $ui= NULL)
+  function mailgroup ($config, $dn= NULL, $parent= NULL)
   {
     /* Initialise all available attributes ... if possible
      */
-    plugin::plugin($config, $dn);
+    plugin::plugin($config, $dn, $parent);
 
     /* Set mailMethod to the one defined in gosa.conf 
      */
@@ -170,7 +170,7 @@ class mailgroup extends plugin
           }else{
             $this->quotaUsage     = "";
             $this->gosaMailQuota  = "";
-            print_red(sprintf(_("Can't get quota for for '%s'."),$this->uid));
+//            print_red(sprintf(_("Can't get quota information for '%s'."),$this->uid));
           }
           $method->disconnect();
         }   // ENDE $method->connect($this->attrs["gosaMailServer"][0])){
@@ -779,7 +779,7 @@ I: Only insider delivery */
     /* 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");