function system_update_8401 in Drupal 8
Remove response.gzip (and response) from system module configuration.
File
- core/
modules/ system/ system.install, line 2390 - Install, update and uninstall functions for the system module.
Code
function system_update_8401() {
\Drupal::configFactory()
->getEditable('system.performance')
->clear('response.gzip')
->clear('response')
->save();
}