EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
Cleanup
Yurii485c6d1eb746
diff --git a/application/Espo/Resources/metadata/app/containerServices.json b/application/Espo/Resources/metadata/app/containerServices.jsonindex 2f844ffead..8af3f9a59b 100644--- a/application/Espo/Resources/metadata/app/containerServices.json+++ b/application/Espo/Resources/metadata/app/containerServices.json@@ -26,9 +26,6 @@"number": {"loaderClassName": "Espo\\Core\\Loaders\\NumberUtil"},- "selectManagerFactory": {- "className": "Espo\\Core\\Select\\SelectManagerFactory"- },"serviceFactory": {"className": "Espo\\Core\\ServiceFactory"},diff --git a/application/Espo/Tools/EntityManager/EntityManager.php b/application/Espo/Tools/EntityManager/EntityManager.phpindex 4c4fd9730f..fcececc2b6 100644--- a/application/Espo/Tools/EntityManager/EntityManager.php+++ b/application/Espo/Tools/EntityManager/EntityManager.php@@ -589,10 +589,6 @@ class EntityManager$this->fileManager->removeFile("custom/Espo/Custom/Controllers/$normalizedName.php");$this->fileManager->removeFile("custom/Espo/Custom/Repositories/$normalizedName.php");- if (file_exists("custom/Espo/Custom/SelectManagers/$normalizedName.php")) {- $this->fileManager->removeFile("custom/Espo/Custom/SelectManagers/$normalizedName.php");- }-$this->fileManager->removeInDir("custom/Espo/Custom/Resources/layouts/$normalizedName");$this->fileManager->removeDir("custom/Espo/Custom/Resources/layouts/$normalizedName");diff --git a/application/Espo/Tools/EntityManager/Rename/ClassType.php b/application/Espo/Tools/EntityManager/Rename/ClassType.phpindex 06879fad37..4212652d1b 100644--- a/application/Espo/Tools/EntityManager/Rename/ClassType.php+++ b/application/Espo/Tools/EntityManager/Rename/ClassType.php@@ -37,7 +37,5 @@ class ClassTypepublic const REPOSITORY = 'Repositories';- public const SELECT_MANAGER = 'SelectManagers';-public const SERVICE = 'Services';}diff --git a/application/Espo/Tools/EntityManager/Rename/Renamer.php b/application/Espo/Tools/EntityManager/Rename/Renamer.phpindex 4ff4df5146..3205ce5c7a 100644--- a/application/Espo/Tools/EntityManager/Rename/Renamer.php+++ b/application/Espo/Tools/EntityManager/Rename/Renamer.php@@ -57,7 +57,6 @@ class RenamerClassType::ENTITY,ClassType::CONTROLLER,ClassType::REPOSITORY,- ClassType::SELECT_MANAGER,ClassType::SERVICE,];