Skip to content

EspoCRM – Open Source CRM Application

Remove planned deprecations

Yuriifeda22030338
diff --git a/application/Espo/Core/Acl/Table/DefaultTable.php b/application/Espo/Core/Acl/Table/DefaultTable.php
index 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.php
index d51694d2a2..99abacc402 100644
--- a/application/Espo/Core/Utils/Security/UrlCheck.php
+++ b/application/Espo/Core/Utils/Security/UrlCheck.php
@@ -60,19 +60,6 @@ class UrlCheck
return $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.
* @internal
diff --git a/application/Espo/Modules/Crm/Entities/Opportunity.php b/application/Espo/Modules/Crm/Entities/Opportunity.php
index 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 */