diff --git a/core/lib/Drupal/Core/Schema/SchemaData.php b/core/lib/Drupal/Core/Schema/SchemaData.php index ab72ca43c5..1d065cf641 100644 --- a/core/lib/Drupal/Core/Schema/SchemaData.php +++ b/core/lib/Drupal/Core/Schema/SchemaData.php @@ -110,12 +110,4 @@ public function setInstalledVersion(string $module, int $version) { $this->installedVersions[$module] = $version; } - /** - * {@inheritdoc} - */ - public function resetCache() { - $this->allVersions = []; - $this->installedVersions = []; - } - } diff --git a/core/lib/Drupal/Core/Schema/SchemaDataInterface.php b/core/lib/Drupal/Core/Schema/SchemaDataInterface.php index b278f7cc0f..ef18accff6 100644 --- a/core/lib/Drupal/Core/Schema/SchemaDataInterface.php +++ b/core/lib/Drupal/Core/Schema/SchemaDataInterface.php @@ -41,11 +41,4 @@ public function getInstalledVersion(string $module): int; */ public function setInstalledVersion(string $module, int $version); - /** - * Resets the static cache. - * - * @internal - */ - public function resetCache(); - }