Code

kolab quota fix
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 19 Oct 2006 02:53:38 +0000 (02:53 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 19 Oct 2006 02:53:38 +0000 (02:53 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4898 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_mail-methods-kolab.inc

index beef12f31ae967b68bb23388e207be83cb914fd2..cb649748d63a6d55b436fc3e4ec3a66845200395 100644 (file)
@@ -99,6 +99,11 @@ class mailMethodKolab extends mailMethodCyrus
   {
     $result= array('quotaUsage' => '', 'gosaMailQuota' => '');
 
+    /* Only use lower case folder names, if folder name is like "@domain.com" */
+    if(preg_match("/@/",$folder)){
+      $folder = strtolower($folder);
+    }
+
     error_reporting(0);  
   
     /* Load quota settings */