Skip to content

Commit 1650652

Browse files
author
Evgeniy Kalashnikov
authored
Fix multiple deletion
# Case Use command ``` $ magento module:uninstall Prefix_Module1 Prefix_Module2 ``` # Problem Deletion scripts do not work
1 parent 15d3681 commit 1650652

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup/src/Magento/Setup/Model/UninstallCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function collectUninstall($filterModules = [])
5656
$setup = $this->dataSetupFactory->create();
5757
$result = $setup->getConnection()->select()->from($setup->getTable('setup_module'), ['module']);
5858
if (isset($filterModules) && sizeof($filterModules) > 0) {
59-
$result->where('module in( ? )', implode(',', $filterModules));
59+
$result->where('module in( ? )', $filterModules);
6060
}
6161
// go through modules
6262
foreach ($setup->getConnection()->fetchAll($result) as $row) {

0 commit comments

Comments
 (0)