File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -273,7 +273,7 @@ private function importAdminUserForm()
273
273
private function getDeploymentConfig ()
274
274
{
275
275
if ($ this ->deploymentConfig === null ) {
276
- $ this ->deploymentConfig = \ Magento \ Framework \ App \ObjectManager:: getInstance ()
276
+ $ this ->deploymentConfig = $ this -> installer -> getObjectManagerProvider ()-> get ()
277
277
->get (\Magento \Framework \App \DeploymentConfig::class);
278
278
}
279
279
return $ this ->deploymentConfig ;
Original file line number Diff line number Diff line change @@ -476,6 +476,16 @@ public function installDeploymentConfig($data)
476
476
$ this ->objectManagerProvider ->reset ();
477
477
}
478
478
479
+ /**
480
+ * Get Object Manager Provider
481
+ *
482
+ * @return ObjectManagerProvider
483
+ */
484
+ public function getObjectManagerProvider ()
485
+ {
486
+ return $ this ->objectManagerProvider ;
487
+ }
488
+
479
489
/**
480
490
* Set up setup_module table to register modules' versions, skip this process if it already exists
481
491
*
You can’t perform that action at this time.
0 commit comments