From: cajus Date: Mon, 12 Dec 2005 05:55:20 +0000 (+0000) Subject: Updated kolab to write groups in a kolab manner X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0b0ba2643acbe53011db1b3307397cb38adb0c36;p=gosa.git Updated kolab to write groups in a kolab manner git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2278 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/TODO b/TODO index 904f5f1cc..2ef9527ed 100644 --- a/TODO +++ b/TODO @@ -1,3 +1,12 @@ +Target for 2.4.1: +================= + +* Add online help (english/german) + +* Group mail is not initially addable? + + + Target for 2.5: =============== diff --git a/include/class_mail-methods-kolab.inc b/include/class_mail-methods-kolab.inc index 9031196e9..9e96f0933 100644 --- a/include/class_mail-methods-kolab.inc +++ b/include/class_mail-methods-kolab.inc @@ -124,6 +124,9 @@ class mailMethodKolab extends mailMethodCyrus $mailObject->attrs['kolabHomeServer']= preg_replace('%imap://%', '', $mailObject->attrs['kolabHomeServer']); $mailObject->attrs['gosaMailServer']= $mailObject->attrs['kolabHomeServer']; $mailObject->attrs['kolabDeleteFlag']= array(); + + echo "Reached"; + print_a ($mailObject->attrs); } diff --git a/plugins/admin/groups/class_groupMail.inc b/plugins/admin/groups/class_groupMail.inc index b6f589bef..f77443763 100644 --- a/plugins/admin/groups/class_groupMail.inc +++ b/plugins/admin/groups/class_groupMail.inc @@ -131,6 +131,8 @@ class mailgroup extends plugin } + /* Adapt attributes if needed */ + $method->fixAttributesOnLoad($this); } /* Get global filter config */ @@ -474,6 +476,7 @@ class mailgroup extends plugin $method->deleteMailbox($this->uid); $method->disconnect(); } + $method->fixAttributesOnRemove($this); } /* Optionally execute a command after we're done */ @@ -579,6 +582,7 @@ class mailgroup extends plugin /* Only do IMAP actions if we are not a template */ if (!$this->is_template){ $method= new $this->method($this->config); + $method->fixAttributesOnStore($this); if ($method->connect($this->gosaMailServer)){ $method->updateMailbox($this->uid); $method->setQuota($this->uid, $this->gosaMailQuota);