From: hickert Date: Thu, 7 Jul 2005 06:05:12 +0000 (+0000) Subject: fix X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9a9abd3d1520431602213c69f4746da34c1e6bfe;p=gosa.git fix git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@929 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_mail-methods-kolab.inc b/include/class_mail-methods-kolab.inc index 630a58000..e459411fa 100644 --- a/include/class_mail-methods-kolab.inc +++ b/include/class_mail-methods-kolab.inc @@ -63,6 +63,8 @@ class mailMethodKolab extends mailMethodCyrus unset ($mailObject->attrs[$source]); } } + // without this line gosaMailQuota is in MB instead of KB + $mailObject->gosaMailQuota=$mailObject->attrs['gosaMailQuota'][0]; /* Adjust server name if needed */ foreach ($mailObject->config->data['SERVERS']['IMAP'] as $srv => $dummy){ @@ -90,7 +92,7 @@ class mailMethodKolab extends mailMethodCyrus } } - $mailObject->attrs['cyrus-userquota'] = ( $mailObject->gosaMailQuota/1024); + $mailObject->attrs['gosaMailQuota'] = ( $mailObject->gosaMailQuota/1024); $mailObject->attrs['objectClass']= $objectclasses; $mailObject->attrs['objectClass'][]= 'kolabInetOrgPerson';