Skip to content

Commit bb29dc9

Browse files
author
Sergii Kovalenko
committed
MAGETWO-88054: Stabilize S1 build
--move migration to Staging module
1 parent db88b8c commit bb29dc9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/internal/Magento/Framework/Setup/Patch/PatchApplier.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
use Magento\Framework\Module\ModuleResource;
1111
use Magento\Framework\ObjectManagerInterface;
1212
use Magento\Framework\Phrase;
13-
use Magento\Framework\Setup\ModuleDataSetupInterface;
1413
use Magento\Framework\Setup\Exception;
14+
use Magento\Framework\Setup\ModuleDataSetupInterface;
1515

1616
/**
1717
* Apply patches per specific module
@@ -263,11 +263,11 @@ public function revertDataPatches($moduleName = null)
263263
);
264264
if ($dataPatch instanceof PatchRevertableInterface) {
265265
try {
266-
$adapter->beginTransaction();
266+
//$adapter->beginTransaction();
267267
/** @var PatchRevertableInterface|DataPatchInterface $dataPatch */
268268
$dataPatch->revert();
269269
$this->patchHistory->revertPatchFromHistory(get_class($dataPatch));
270-
$adapter->commit();
270+
//$adapter->commit();
271271
} catch (\Exception $e) {
272272
$adapter->rollBack();
273273
throw new Exception(new Phrase($e->getMessage()));

0 commit comments

Comments
 (0)