Commit 34573dde authored by Dries's avatar Dries
Browse files

- Patch #1496458 by swentel, pcambra, n3or, sun, kbasarab, marcingy,...

- Patch #1496458 by swentel, pcambra, n3or, sun, kbasarab, marcingy, no_commit_credit: convert maintenance mode settings to configuration system.
parent c7dc1e85
......@@ -2034,6 +2034,18 @@ function system_update_8015() {
}
}
/**
* Move the system maintenance settings from variable to config.
*
* @ingroup config_upgrade
*/
function system_update_8015() {
update_variables_to_config('system.maintenance', array(
'maintenance_mode' => 'enabled',
'maintenance_mode_message' => 'message',
));
}
/**
* @} End of "defgroup updates-7.x-to-8.x".
* The next series of updates should start at 9000.
......
Markdown is supported
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