Skip to content

Commit

Permalink
Allow removing modules installed by profile. (#3407)
Browse files Browse the repository at this point in the history
  • Loading branch information
cburschka authored and jmolivas committed Jul 13, 2017
1 parent dc4e150 commit 073e928
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Command/Module/UninstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
}

if (!$force = $input->getOption('force')) {
$profile = drupal_get_profile();
$dependencies = [];
while (list($module) = each($moduleList)) {
foreach (array_keys($moduleData[$module]->required_by) as $dependency) {
Expand Down

0 comments on commit 073e928

Please sign in to comment.