Clean code
This commit is contained in:
parent
eb2210f191
commit
c06fc82a9d
@ -723,14 +723,6 @@ class Conf
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// conf->mailing->email_from = email by default to send Dolibarr emailings
|
|
||||||
if (isModEnabled('mailing')) {
|
|
||||||
$this->mailing->email_from = $this->email_from;
|
|
||||||
if (!empty($this->global->MAILING_EMAIL_FROM)) {
|
|
||||||
$this->mailing->email_from = $this->global->MAILING_EMAIL_FROM;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!isset($this->global->MAIN_HIDE_WARNING_TO_ENCOURAGE_SMTP_SETUP)) {
|
if (!isset($this->global->MAIN_HIDE_WARNING_TO_ENCOURAGE_SMTP_SETUP)) {
|
||||||
$this->global->MAIN_HIDE_WARNING_TO_ENCOURAGE_SMTP_SETUP = 1;
|
$this->global->MAIN_HIDE_WARNING_TO_ENCOURAGE_SMTP_SETUP = 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user