Mercurial > hg > cmmr2012-drupal-site
diff core/modules/config/src/Form/ConfigSync.php @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | a9cd425dd02b |
children |
line wrap: on
line diff
--- a/core/modules/config/src/Form/ConfigSync.php Thu Feb 28 13:11:55 2019 +0000 +++ b/core/modules/config/src/Form/ConfigSync.php Thu May 09 15:34:47 2019 +0100 @@ -180,7 +180,7 @@ '#value' => $this->t('Import all'), ]; $source_list = $this->syncStorage->listAll(); - $storage_comparer = new StorageComparer($this->syncStorage, $this->activeStorage, $this->configManager); + $storage_comparer = new StorageComparer($this->syncStorage, $this->activeStorage); if (empty($source_list) || !$storage_comparer->createChangelist()->hasChanges()) { $form['no_changes'] = [ '#type' => 'table', @@ -199,7 +199,7 @@ // A list of changes will be displayed, so check if the user should be // warned of potential losses to configuration. if ($this->snapshotStorage->exists('core.extension')) { - $snapshot_comparer = new StorageComparer($this->activeStorage, $this->snapshotStorage, $this->configManager); + $snapshot_comparer = new StorageComparer($this->activeStorage, $this->snapshotStorage); if (!$form_state->getUserInput() && $snapshot_comparer->createChangelist()->hasChanges()) { $change_list = []; foreach ($snapshot_comparer->getAllCollectionNames() as $collection) {