Skip to content

Commit 2569a0b

Browse files
author
Stanislav Idolov
authored
Removed double call of orderManagement service
1 parent 0ecf1fa commit 2569a0b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

app/code/Magento/Sales/Controller/Adminhtml/Order/MassCancel.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ protected function massAction(AbstractCollection $collection)
7272
if ($isCanceled === false) {
7373
continue;
7474
}
75-
$this->orderManagement->cancel($order->getEntityId());
7675
$countCancelOrder++;
7776
}
7877
$countNonCancelOrder = $collection->count() - $countCancelOrder;

0 commit comments

Comments
 (0)