Commit 211a2275 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixes #4737 Removed config->data['SERVERS']['IMAP']

Showing with 0 additions and 15 deletions
+0 -15
...@@ -470,22 +470,7 @@ class config { ...@@ -470,22 +470,7 @@ class config {
return; return;
} }
/* Fill imap servers */
$ldap = $this->get_ldap_link(); $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 */ /* Get NFS server lists */
$tmp = array("default"); $tmp = array("default");
......
  • bmortier @bmortier

    mentioned in issue #1497

    By Côme Chilliet on 2017-09-02T15:28:13 (imported from GitLab)

    ·

    mentioned in issue #1497

    By Côme Chilliet on 2017-09-02T15:28:13 (imported from GitLab)

    Toggle commit list
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment