Disable mail_enabled by default on clean install

Causes too many issues when no smpt server available and other options are not configured
This commit is contained in:
slawkens
2020-10-07 23:22:02 +02:00
parent 2144a4eb7c
commit 48874f5b07
8 changed files with 3 additions and 28 deletions

View File

@@ -95,10 +95,6 @@ if($step == 'database') {
$errors[] = $locale['step_config_mail_admin_error'];
break;
}
else if($key == 'mail_address' && !Validator::email($value)) {
$errors[] = $locale['step_config_mail_address_error'];
break;
}
else if($key == 'timezone' && !in_array($value, DateTimeZone::listIdentifiers())) {
$errors[] = $locale['step_config_timezone_error'];
break;