Code

Updated class_config.inc
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 28 Nov 2008 08:54:21 +0000 (08:54 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 28 Nov 2008 08:54:21 +0000 (08:54 +0000)
-MailMethod could be defined in <main

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13062 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_config.inc

index 1195e50343555f99c53a654f18d4071a53b1752f..bc9d06f10c23e513515b09f1cee7ca87bb8e8693 100644 (file)
@@ -379,6 +379,10 @@ class config  {
     /* Fill imap servers */
     $ldap= $this->get_ldap_link();
     $ldap->cd ($this->current['BASE']);
+
+    /* Search mailMethod konfiguration in main section too 
+     */
+    $this->current['MAILMETHOD'] = $this->get_cfg_value("mailMethod","");
     if (!isset($this->current['MAILMETHOD'])){
       $this->current['MAILMETHOD']= "";
     }