You are here

function acquia_connector_update_8006 in Acquia Connector 8

Delete the spi module diff data settings.

File

./acquia_connector.install, line 287
Install, update, and uninstall functions for the Acquia Connector module.

Code

function acquia_connector_update_8006() {
  $config_factory = \Drupal::configFactory();
  $config = $config_factory
    ->getEditable('acquia_connector.settings');
  if ($config
    ->get('spi.module_diff_data')) {
    $config
      ->clear('spi.module_diff_data');
  }
  $config
    ->save(TRUE);
}