Code

Removed error message if ne quota was defined
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 21 Jun 2006 08:01:02 +0000 (08:01 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 21 Jun 2006 08:01:02 +0000 (08:01 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@3848 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_mail-methods-cyrus.inc

index 6eab34624149c8839487f202fed8ec6e1ac8cb32..957c35863a89f87ec88690435dcc47d170151ae3 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());
     }
  
     error_reporting (E_ALL);