EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
Remove planned deprecations
Yuriifeda22030338
diff --git a/application/Espo/Core/Acl/Table/DefaultTable.php b/application/Espo/Core/Acl/Table/DefaultTable.phpindex 935d9b7e9c..9e5c9b838f 100644--- a/application/Espo/Core/Acl/Table/DefaultTable.php+++ b/application/Espo/Core/Acl/Table/DefaultTable.php@@ -631,17 +631,6 @@ class DefaultTable implements Table}$data->$scope->$action = self::LEVEL_NO;-- // @todo Remove everything below. In v10.1.- if ($i === 0) {- continue;- }-- $previousAction = $this->actionList[$i - 1];-- if ($action === self::ACTION_STREAM && isset($data->$scope->$previousAction)) {- $data->$scope->$action = $data->$scope->$previousAction;- }}}diff --git a/application/Espo/Core/Utils/Security/UrlCheck.php b/application/Espo/Core/Utils/Security/UrlCheck.phpindex d51694d2a2..99abacc402 100644--- a/application/Espo/Core/Utils/Security/UrlCheck.php+++ b/application/Espo/Core/Utils/Security/UrlCheck.php@@ -60,19 +60,6 @@ class UrlCheckreturn $this->hostCheck->isHostAndNotInternal($host);}-- /**- * Checks whether it's a URL, and it does not follow to an internal host.- *- * @since 9.3.4- * @deprecated Since 10.0.8.- * @todo Remove in v10.1.0.- */- public function isUrlAndNotIternal(string $url): bool- {- return $this->isUrlAndNotInternal($url);- }-/*** @return ?string[] Null if not a domain name or not a URL.* @internaldiff --git a/application/Espo/Modules/Crm/Entities/Opportunity.php b/application/Espo/Modules/Crm/Entities/Opportunity.phpindex c8c1030d79..b7cb47e1b0 100644--- a/application/Espo/Modules/Crm/Entities/Opportunity.php+++ b/application/Espo/Modules/Crm/Entities/Opportunity.php@@ -41,12 +41,6 @@ class Opportunity extends Entity{public const ENTITY_TYPE = 'Opportunity';- /**- * @deprecated- * @todo Remove in v10.1.- */- public const string FIELD_CLOSED_DATE = 'closeDate';-/** @since 10.0.0 */public const string FIELD_CLOSE_DATE = 'closeDate';/**@since 10.0.0 */