You are here

function acquia_connector_update_8004 in Acquia Connector 8

Delete the multisite related settings as it is not currently supported.

File

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

Code

function acquia_connector_update_8004() {
  $config_factory = \Drupal::configFactory();
  $config = $config_factory
    ->getEditable('acquia_connector.settings');
  $config
    ->clear('spi.multisite_identifier');
  $config
    ->clear('spi.is_multisite');
  $config
    ->clear('spi.machine_multisite_identifier');
  $config
    ->save(TRUE);
}