summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: efe4b14)
raw | patch | inline | side by side (parent: efe4b14)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 20 Aug 2008 12:35:08 +0000 (12:35 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 20 Aug 2008 12:35:08 +0000 (12:35 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@12252 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_mail-methods-kolab.inc | patch | blob | history |
index 61d15c47fdf5b50c6936521383fb3dd670802dd0..08280c188eae6ba4b0eb8ee4c33632ccbb6f1e2d 100644 (file)
}
}
- /* 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 = "shared.".$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();