summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1b02cf8)
raw | patch | inline | side by side (parent: 1b02cf8)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 25 Jul 2006 04:09:23 +0000 (04:09 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 25 Jul 2006 04:09:23 +0000 (04:09 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4279 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_mail-methods-kolab.inc | patch | blob | history |
index 95ba9e5ee3e60959ddc3f6f1f8530ed910c249d9..3a12df8d723ec30310625a4a9abf392ebbbf5b11 100644 (file)
/* 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);
+ if(get_class($mailObject) == "mailgroup"){
+ $mailObject->uid = "shared.".$mailObject->uid."@".preg_replace("/^.*@/","",$mailObject->mail);
+ }
/* Convert attributes and objectClasses */
foreach ($this->attribute_map as $dest => $source){