Loading http_cache_control.install +8 −2 Original line number Diff line number Diff line Loading @@ -43,10 +43,16 @@ function http_cache_control_update_8102(): void { } /** * Remove the '5xx cache maximum age' setting. * Remove the '5xx cache maximum age' setting (obsolete). */ function http_cache_control_update_8103(): void { } /** * Remove the '5xx cache maximum age' setting. */ function http_cache_control_update_8104(): void { $config = \Drupal::configFactory()->getEditable('http_cache_control.settings'); $config->clear('5xx_max_age'); $config->clear('cache.http.5xx_max_age'); $config->save(); } Loading
http_cache_control.install +8 −2 Original line number Diff line number Diff line Loading @@ -43,10 +43,16 @@ function http_cache_control_update_8102(): void { } /** * Remove the '5xx cache maximum age' setting. * Remove the '5xx cache maximum age' setting (obsolete). */ function http_cache_control_update_8103(): void { } /** * Remove the '5xx cache maximum age' setting. */ function http_cache_control_update_8104(): void { $config = \Drupal::configFactory()->getEditable('http_cache_control.settings'); $config->clear('5xx_max_age'); $config->clear('cache.http.5xx_max_age'); $config->save(); }