Code

Fixed problem with missing quota settings.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 1 Sep 2006 11:17:27 +0000 (11:17 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 1 Sep 2006 11:17:27 +0000 (11:17 +0000)
The messages about quota erros, were also shown if there was still no quota defined.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4568 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/groups/class_groupMail.inc
plugins/personal/mail/class_mailAccount.inc

index cf71b3b6629fbd132ca492cdaf64d0022e329efe..63e060239a0611c46f43fda941269a5e3bb46e1b 100644 (file)
@@ -170,7 +170,7 @@ class mailgroup extends plugin
           }else{
             $this->quotaUsage     = "";
             $this->gosaMailQuota  = "";
-            print_red(sprintf(_("Can't get quota information 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])){
index 95a46b165c547615eb2e8f43b7495d8b9de54aa0..fc3eccb768b4c142f302f506deed7714f248bac3 100644 (file)
@@ -147,7 +147,7 @@ class mailAccount extends plugin
           }else{
             $this->quotaUsage     = "";
             $this->gosaMailQuota  = "";
-            print_red(sprintf(_("Can't get quota information for '%s'."),$this->folder_prefix.$this->$id));
+//            print_red(sprintf(_("Can't get quota information for '%s'."),$this->folder_prefix.$this->$id));
           }
 
           /* Get mailboxes / folder like INBOX ..*/