summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0c044e7)
raw | patch | inline | side by side (parent: 0c044e7)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 4 Sep 2006 03:50:05 +0000 (03:50 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 4 Sep 2006 03:50:05 +0000 (03:50 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4572 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_mail-methods-kolab.inc | patch | blob | history |
index 3a12df8d723ec30310625a4a9abf392ebbbf5b11..4ebe586df96b254f9d148ab0dd29922667a52322 100644 (file)
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);
+ }
}
}