function system_post_update_remove_asset_entries
Remove redundant asset state and config.
File
-
core/
modules/ system/ system.post_update.php, line 115
Code
function system_post_update_remove_asset_entries() {
\Drupal::state()->delete('drupal_css_cache_files');
\Drupal::state()->delete('system.js_cache_files');
$config = \Drupal::configFactory()->getEditable('system.performance');
$config->clear('stale_file_threshold');
$config->save();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.