Skip to content

Commit

Permalink
MAGETWO-68861: Fix data deletion using the multiple delete command #9446
Browse files Browse the repository at this point in the history
  • Loading branch information
ishakhsuvarov authored May 8, 2017
2 parents 6ee81f6 + 2d29232 commit 76ebd3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup/src/Magento/Setup/Model/UninstallCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function collectUninstall($filterModules = [])
$setup = $this->dataSetupFactory->create();
$result = $setup->getConnection()->select()->from($setup->getTable('setup_module'), ['module']);
if (isset($filterModules) && sizeof($filterModules) > 0) {
$result->where('module in( ? )', implode(',', $filterModules));
$result->where('module in( ? )', $filterModules);
}
// go through modules
foreach ($setup->getConnection()->fetchAll($result) as $row) {
Expand Down

0 comments on commit 76ebd3e

Please sign in to comment.