1 system.install | system_update_1030() |
Convert mail system variable to config.
Related topics
File
- core/
modules/ system/ system.install, line 2643 - Install, update and uninstall functions for the system module.
Code
function system_update_1030() {
$config = config('system.mail');
$config->setData(update_variable_get('mail_system', array('default-system' => 'DefaultMailSystem')));
$config->save();
update_variable_del('mail_system');
}