Code

Added additional ip/domain checks
[gosa.git] / include / class_mail-methods-cyrus.inc
index 6eab34624149c8839487f202fed8ec6e1ac8cb32..a3e03ef50be580682ae5270df36f35077d6186d7 100644 (file)
@@ -88,7 +88,8 @@ class mailMethodCyrus extends mailMethod
         }
       }
     }elseif(!$quota_value){
-      return(false);
+      /* If there is no quota defined for this account, the function imap_get_quota returns false. */
+      return(array("quotaUsage"=>"","gosaMailQuota"=>""));
     }
  
     error_reporting (E_ALL);