From 691efd5d693a958edc122e5156713765efa8e05e Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 2 Sep 2008 12:40:41 +0000 Subject: [PATCH] Ensure that new groups have a correct shared folder created. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12343 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/mail/admin/groups/mail/class_groupMail.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc b/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc index 0c3afb897..3ebe161df 100644 --- a/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc +++ b/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc @@ -896,6 +896,11 @@ I: Only insider delivery */ /* Call parents save to prepare $this->attrs */ plugin::save(); + + /* Update sharefolder account name */ + if(isset($this->parent->by_object['group']->cn)) { + $this->account_name = $this->parent->by_object['group']->cn; + } /* Save arrays */ $this->attrs['gosaMailAlternateAddress'] = $this->gosaMailAlternateAddress; -- 2.30.2