From d0bcf10a01c395517857de3427acfc034b2503ef Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 11 Sep 2009 09:58:00 +0000 Subject: [PATCH] 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 --- .../kolab/personal/mail/kolab/class_mail-methods-kolab.inc | 6 ++++++ 1 file changed, 6 insertions(+) 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() -- 2.30.2