From: hickert Date: Fri, 11 Sep 2009 09:58:00 +0000 (+0000) Subject: Updated mail method kolab X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d0bcf10a01c395517857de3427acfc034b2503ef;p=gosa.git Updated mail method kolab -There was a problem with the removal of alternate addresses. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14228 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/kolab/personal/mail/kolab/class_mail-methods-kolab.inc b/gosa-plugins/kolab/personal/mail/kolab/class_mail-methods-kolab.inc index 46765aa94..d0374ee4f 100644 --- a/gosa-plugins/kolab/personal/mail/kolab/class_mail-methods-kolab.inc +++ b/gosa-plugins/kolab/personal/mail/kolab/class_mail-methods-kolab.inc @@ -62,6 +62,12 @@ class mailMethodKolab extends mailMethodCyrus public function fixAttributesOnLoad() { mailMethodCyrus::fixAttributesOnLoad(); + + // Tell our parent that there is a relatioship between alias and + // gosaMailAlternateAddress. (Avoid plugin::cleanup to filter out alias). + if(isset($this->parent->saved_attributes['gosaMailAlternateAddress'])){ + $this->parent->saved_attributes['alias'] = $this->parent->saved_attributes['gosaMailAlternateAddress']; + } } public function fixAttributesOnStore()