summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 81e80cb)
raw | patch | inline | side by side (parent: 81e80cb)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 4 Sep 2006 03:49:36 +0000 (03:49 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 4 Sep 2006 03:49:36 +0000 (03:49 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4571 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_mail-methods-kolab.inc | patch | blob | history |
index 972314a730ba70374c6b87207abddb215d7e1bb3..2dc40c17fb77e4b9695caf110670cc3884563818 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);
+ }
}
}