Skip to content

Commit

Permalink
[console] Remove unused code. (#3615)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmolivas authored Dec 5, 2017
1 parent 1aa0a50 commit b19e75d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/Bootstrap/DrupalKernelTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use Symfony\Component\Finder\Finder;
use Symfony\Component\HttpFoundation\Request;
use Drupal\Core\Site\Settings;
use Drupal\Core\DependencyInjection\ServiceModifierInterface;
use Drupal\Console\Core\Utils\DrupalFinder;

Expand Down
8 changes: 5 additions & 3 deletions src/Command/Config/OverrideCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,11 @@ protected function execute(InputInterface $input, OutputInterface $output)

$config = $this->configFactory->getEditable($configName);

$configurationOverrideResult = $this->overrideConfiguration($config, $key, $value);
$configurationOverrideResult = $this->overrideConfiguration(
$config,
$key,
$value
);

$config->save();

Expand All @@ -136,8 +140,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
];
$tableRows = $configurationOverrideResult;
$io->table($tableHeader, $tableRows);

$config->save();
}


Expand Down

0 comments on commit b19e75d

Please sign in to comment.