summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 57d5594)
raw | patch | inline | side by side (parent: 57d5594)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 14 Feb 2008 12:56:10 +0000 (12:56 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 14 Feb 2008 12:56:10 +0000 (12:56 +0000) |
-Use mail identification attribute from gosa configurtation, if is set.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8907 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8907 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/kolab/personal/mail/kolab/class_mail-methods-golab.inc | patch | blob | history | |
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-golab.inc b/gosa-plugins/kolab/personal/mail/kolab/class_mail-methods-golab.inc
index dc75674c264866d1c3b5a99affe85396a60a47b6..568dbcb693297f12fae0840c448c0ec40e226f08 100644 (file)
function mailMethodGolab(&$config)
{
+ /* Check if the mail account identification attribute
+ is overridden in the configuration file
+ */
+ if(isset($config->current['MAIL_ATTRIB'])){
+ $this->uattrib = $config->current['MAIL_ATTRIB'];
+ }
$this->config= $config->data['SERVERS']['IMAP'];
}
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 c0606046b0c9094667c53e70d3b0bd4cc58b6d13..6158dafd77b9db30a0540849ef2ed7656c78d34e 100644 (file)
function mailMethodKolab(&$config)
{
+ /* Check if the mail account identification attribute
+ is overridden in the configuration file
+ */
+ if(isset($config->current['MAIL_ATTRIB'])){
+ $this->uattrib = $config->current['MAIL_ATTRIB'];
+ }
$this->config= $config->data['SERVERS']['IMAP'];
}