From c4e753c8d755e783c2316f0215416b5477f8dcea Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 20 Aug 2008 12:37:37 +0000 Subject: [PATCH] Updated sharedFolderTarget tag git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12253 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../kolab/personal/mail/kolab/class_mail-methods-kolab.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 1c7db73a4..f4ae1d774 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 @@ -223,13 +223,13 @@ class mailMethodKolab extends mailMethodCyrus } } - /* Save shared folder target */ - $mailObject->attrs['gosaSharedFolderTarget']= "kolab+shared.".$mailObject->mail; - /* Kolab shared folder names are like ' shared.uid@server.de ' So overwrite uid to match these folder names. Else we can't read quota settings etc. #FIXME is there a better way to detect if it is 'shared.' or 'shared+' or 'kolab+shared.' or what ever ?*/ $mailObject->uid = $this->folder_prefix.$mailObject->uid."@".preg_replace("/^.*@/","",$mailObject->mail); + + /* Save shared folder target */ + $mailObject->attrs['gosaSharedFolderTarget']= "kolab+shared.".$mailObject->cn."@".preg_replace("/^.*@/","",$mailObject->mail); /* Assign new acls */ $mailObject->attrs['acl']= array(); -- 2.30.2