From 4997bdb4f69277c01cc4431948737a5a22168bf6 Mon Sep 17 00:00:00 2001
From: catch <catch@35733.no-reply.drupal.org>
Date: Wed, 2 Feb 2022 14:23:03 +0000
Subject: [PATCH] Issue #3261264 by andypost: Remove deprecated code from
 \Drupal\Core\Cache\DatabaseCacheTagsChecksum

---
 .../Core/Cache/DatabaseCacheTagsChecksum.php  | 24 -------------------
 1 file changed, 24 deletions(-)

diff --git a/core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php b/core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php
index 45b177631664..4ab1589c1151 100644
--- a/core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php
+++ b/core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php
@@ -117,30 +117,6 @@ public function schemaDefinition() {
     return $schema;
   }
 
-  /**
-   * Act on an exception when cache might be stale.
-   *
-   * If the {cachetags} table does not yet exist, that's fine but if the table
-   * exists and yet the query failed, then the cache is stale and the
-   * exception needs to propagate.
-   *
-   * @param \Exception $e
-   *   The exception.
-   *
-   * @throws \Exception
-   *
-   * @deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. There is no
-   *   replacement.
-   *
-   * @see https://www.drupal.org/node/3243014
-   */
-  protected function catchException(\Exception $e) {
-    @trigger_error('\Drupal\Core\Cache\DatabaseCacheTagsChecksum::catchException is deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. There is no replacement. See https://www.drupal.org/node/3243014', E_USER_DEPRECATED);
-    if ($this->connection->schema()->tableExists('cachetags')) {
-      throw $e;
-    }
-  }
-
   /**
    * {@inheritdoc}
    */
-- 
GitLab