Set default value for 3rd party libraries

[MAILPOET-3128]
This commit is contained in:
Pavel Dohnal
2020-10-12 14:36:50 +02:00
committed by Veljko V
parent 7f0916bae5
commit d9c73692d9

View File

@@ -291,6 +291,12 @@ class Populator {
}
// reset mailer log
MailerLog::resetMailerLog();
$thirdPartyScriptsEnabled = $this->settings->get('3rd_party_libs');
if (is_null($thirdPartyScriptsEnabled)) {
// if third party libraries are not set to anything we will enable them by default, user can manually disable this
$this->settings->set('3rd_party_libs.enabled', '1');
}
}
private function createDefaultUsersFlags() {