Skip to content

Commit

Permalink
OPENEUROPA-2155: Rename variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
ademarco committed Jan 28, 2020
1 parent 152046f commit cc86b9b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Commands/AbstractDrupalCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -382,10 +382,10 @@ public function settingsSetup(array $options = [
// If ran in dev mode copy local settings file to 'settings.local.php'.
// Such file will be conditionally included in 'settings-override-file'.
if ($options['dev']) {
$examples_settings_path = $this->getConfig()->get('drupal.site.settings_local_file');
if (file_exists($examples_settings_path)) {
$local_settings_file = $this->getConfig()->get('drupal.site.settings_local_file');
if (file_exists($local_settings_file)) {
$local_settings_path = $options['root'] . '/sites/' . $options['sites-subdir'] . '/settings.local.php';
$collection[] = $this->taskFilesystemStack()->copy($examples_settings_path, $local_settings_path, $options['force']);
$collection[] = $this->taskFilesystemStack()->copy($local_settings_file, $local_settings_path, $options['force']);
}
$collection[] = $this->taskWriteToFile($settings_override_path)
->append()
Expand Down

0 comments on commit cc86b9b

Please sign in to comment.