diff --git a/core/modules/system/system.install b/core/modules/system/system.install index e938128..0815642 100644 --- a/core/modules/system/system.install +++ b/core/modules/system/system.install @@ -2215,6 +2215,18 @@ function system_update_8032() { } /** + * coverts the css_gzip_compression, js_gzip_compression variables to Config API. + * + * @ingroup config_upgrade + */ +function system_update_8033() { + $variable_map = array( + 'css_gzip_compression' => 'gzip_compression.css', + 'js_gzip_compression' => 'gzip_compression.js' + ); + update_variables_to_config('system.performance', $variable_map) +} +/** * @} End of "defgroup updates-7.x-to-8.x". * The next series of updates should start at 9000. */