Code

Removed error message if ne quota was defined
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 21 Jun 2006 07:56:29 +0000 (07:56 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 21 Jun 2006 07:56:29 +0000 (07:56 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3847 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_mail-methods-cyrus.inc

index 6eab34624149c8839487f202fed8ec6e1ac8cb32..16e6b3db915f37dd1c0cbc2dc24ae71ca558b9ea 100644 (file)
@@ -88,7 +88,9 @@ 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());
     }
  
     error_reporting (E_ALL);