Same name in other branches
  1. 6.0.x advagg_mod/advagg_mod.install \advagg_mod_update_8301()
  2. 8.x-3.x advagg_mod/advagg_mod.install \advagg_mod_update_8301()
  3. 8.x-4.x advagg_mod/advagg_mod.install \advagg_mod_update_8301()

Remove orphaned configuration option for google analytics.

File

advagg_mod/advagg_mod.install, line 25

Code

function advagg_mod_update_8301() {
    $config = \Drupal::configFactory()->getEditable('advagg_mod.settings');
    $config->clear('ga_inline_to_file');
    $config->save();
}