File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
lib/internal/Magento/Framework/Setup/Patch Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 10
10
use Magento \Framework \Module \ModuleResource ;
11
11
use Magento \Framework \ObjectManagerInterface ;
12
12
use Magento \Framework \Phrase ;
13
- use Magento \Framework \Setup \ModuleDataSetupInterface ;
14
13
use Magento \Framework \Setup \Exception ;
14
+ use Magento \Framework \Setup \ModuleDataSetupInterface ;
15
15
16
16
/**
17
17
* Apply patches per specific module
@@ -263,11 +263,11 @@ public function revertDataPatches($moduleName = null)
263
263
);
264
264
if ($ dataPatch instanceof PatchRevertableInterface) {
265
265
try {
266
- $ adapter ->beginTransaction ();
266
+ // $adapter->beginTransaction();
267
267
/** @var PatchRevertableInterface|DataPatchInterface $dataPatch */
268
268
$ dataPatch ->revert ();
269
269
$ this ->patchHistory ->revertPatchFromHistory (get_class ($ dataPatch ));
270
- $ adapter ->commit ();
270
+ // $adapter->commit();
271
271
} catch (\Exception $ e ) {
272
272
$ adapter ->rollBack ();
273
273
throw new Exception (new Phrase ($ e ->getMessage ()));
You can’t perform that action at this time.
0 commit comments