diff --git a/include/class_config.inc b/include/class_config.inc index 25b01398ec6be48dd8448c8190b1eef76cd1eb30..0913935403f48a87b5cb0faf2f81c555a9fad442 100644 --- a/include/class_config.inc +++ b/include/class_config.inc @@ -470,22 +470,7 @@ class config { return; } - /* Fill imap servers */ $ldap = $this->get_ldap_link(); - $ldap->cd ($this->current['BASE']); - - /* Search mailMethod configuration in main section too */ - $this->current['MAILMETHOD'] = $this->get_cfg_value("mailMethod", ""); - $mailMethodClass = 'mailMethod'.$this->current['MAILMETHOD']; - if (class_available($mailMethodClass)) { - $this->data['SERVERS']['IMAP'] = $mailMethodClass::get_server_list($this); - } elseif (class_available('mailMethod')) { - msg_dialog::display( - _('Error'), - sprintf(_('The selected mail method (class %s) is not available'), $mailMethodClass), - ERROR_DIALOG - ); - } /* Get NFS server lists */ $tmp = array("default");