From: hickert Date: Tue, 2 Sep 2008 12:40:41 +0000 (+0000) Subject: Ensure that new groups have a correct shared folder created. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=691efd5d693a958edc122e5156713765efa8e05e;p=gosa.git 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 --- 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;