File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
lib/internal/Magento/Framework/App Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ class ObjectManagerFactory
32
32
*
33
33
* @var string
34
34
*/
35
- protected $ _locatorClassName = \Magento \Framework \ObjectManager \ObjectManager::class;
35
+ protected $ _locatorClassName = \Magento \Framework \App \ObjectManager::class;
36
36
37
37
/**
38
38
* Config class name
@@ -169,7 +169,6 @@ public function create(array $arguments)
169
169
$ objectManager = new $ this ->_locatorClassName ($ this ->factory , $ diConfig , $ sharedInstances );
170
170
171
171
$ this ->factory ->setObjectManager ($ objectManager );
172
- ObjectManager::setInstance ($ objectManager );
173
172
174
173
$ generatorParams = $ diConfig ->getArguments (\Magento \Framework \Code \Generator::class);
175
174
/** Arguments are stored in different format when DI config is compiled, thus require custom processing */
You can’t perform that action at this time.
0 commit comments