From: hickert Date: Mon, 4 Sep 2006 03:50:05 +0000 (+0000) Subject: Fixed koalbDeleteFlag error X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7332b9301798ec8c754893b024463fb97387aa01;p=gosa.git Fixed koalbDeleteFlag error git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4572 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_mail-methods-kolab.inc b/include/class_mail-methods-kolab.inc index 3a12df8d7..4ebe586df 100644 --- a/include/class_mail-methods-kolab.inc +++ b/include/class_mail-methods-kolab.inc @@ -234,7 +234,11 @@ class mailMethodKolab extends mailMethodCyrus foreach($this->attribute_map as $kolabAttr){ $mailObject->attrs[$kolabAttr] = array(); } - $mailObject->attrs['kolabDeleteFlag']= preg_replace('%imap://%', '', $mailObject->gosaMailServer); + + /* Only add kolab delete Flag in case of an user.mailAccount */ + if(!in_array("posixGroup", $mailObject->attrs['objectClass'])){ + $mailObject->attrs['kolabDeleteFlag']= preg_replace('%imap://%', '', $mailObject->gosaMailServer); + } } }