summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7584f66)
raw | patch | inline | side by side (parent: 7584f66)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 7 May 2009 08:17:43 +0000 (08:17 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 7 May 2009 08:17:43 +0000 (08:17 +0000) |
-Made gosaSharedFolderTarget configurable
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13629 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13629 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/kolab/personal/mail/kolab/class_mail-methods-kolab.inc | patch | blob | history |
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 adc7e4bb02c86c5201fbaefcec1a7a2cf990f711..6bb0f2dfa21d415ff73a139137f2d53d7506e003 100644 (file)
protected $user_prefix = 'user.';
protected $share_prefix = 'shared\\.';
+ /* gosaSharedFolderTarget settings,
+ E.g.
+ AccountID = 'shared/herberts.folder@gonicus.de'
+ 'kolab+' will result in gosaSharedFolderTarget: kolab+shared/herberts.folder@gonicus.de
+ */
+ protected $gosaSharedPrefix = 'kolab+';
+
/* Account ID creation */
protected $user_id = "%prefix%%uattrib%";
protected $share_id = "%prefix%%cn%@%domain%";
/* The folderType is set by ::setFolderType(...) */
$this->parent->attrs['kolabFolderType'] = array();
if($this->type == "group"){
- $this->parent->attrs['gosaSharedFolderTarget'] = "kolab+shared.".$this->parent->mail;
+ $this->parent->attrs['gosaSharedFolderTarget'] =
+ $this->gosaSharedPrefix.$this->account_id;
}
}