summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 69f9eff)
raw | patch | inline | side by side (parent: 69f9eff)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 25 Jul 2006 04:08:22 +0000 (04:08 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 25 Jul 2006 04:08:22 +0000 (04:08 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4278 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_mail-methods-kolab.inc | patch | blob | history |
index 95ba9e5ee3e60959ddc3f6f1f8530ed910c249d9..972314a730ba70374c6b87207abddb215d7e1bb3 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){