summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 10aed96)
raw | patch | inline | side by side (parent: 10aed96)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 13 Jul 2007 09:28:43 +0000 (09:28 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 13 Jul 2007 09:28:43 +0000 (09:28 +0000) |
When attributes were mapped with kolab mailmethod, they ware not updated in saved_attributes,
so cleanup skipped them in some cases.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6857 594d385d-05f5-0310-b6e9-bd551577e9d8
so cleanup skipped them in some cases.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6857 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_mail-methods-kolab.inc | patch | blob | history |
index caf7b2bde2927c6577835e1537c61747b848dcd5..b43c10ad12cb8984c7db9c5779d241cacd38d6d6 100644 (file)
$mailObject->attrs[$dest]= $mailObject->attrs[$source];
$mailObject->$dest= $mailObject->attrs[$source];
+ /* Ensure that cleanup will recognize the ampped attributes too */
+ if(isset($mailObject->saved_attributes)){
+ $mailObject->saved_attributes[$dest] = $mailObject->attrs[$source];
+ $mailObject->saved_attributes[$source] = $mailObject->attrs[$source];
+ }
+
unset ($mailObject->$dest['count']);
unset ($mailObject->attrs[$source]);
}