diff --git a/application/Espo/Core/Loaders/EntityManagerHelper.php b/application/Espo/Core/Loaders/EntityManagerHelper.php new file mode 100644 index 0000000000..e6c3bfc7af --- /dev/null +++ b/application/Espo/Core/Loaders/EntityManagerHelper.php @@ -0,0 +1,40 @@ +getContainer()->get('config') + ); + } +} diff --git a/application/Espo/Resources/metadata/app/containerServices.json b/application/Espo/Resources/metadata/app/containerServices.json index 32079dd0cd..7499f843c2 100644 --- a/application/Espo/Resources/metadata/app/containerServices.json +++ b/application/Espo/Resources/metadata/app/containerServices.json @@ -2,9 +2,5 @@ "clientManager": { "className": "\\Espo\\Core\\Utils\\ClientManager", "dependencyList": ["config", "themeManager", "metadata"] - }, - "entityManagerHelper": { - "className": "\\Espo\\Core\\ORM\\Helper", - "dependencyList": ["config"] } } \ No newline at end of file