From 7d63c1f7e41d3c5e0972b8e44835f8de05e2dce4 Mon Sep 17 00:00:00 2001 From: Lee Rowlands Date: Wed, 12 May 2021 19:38:20 +1000 Subject: [PATCH] Issue #3210888 by longwave: Undefined static method Drupal\Core\Database\Connection::serialize() (cherry picked from commit 39110888d9add480ddfbcf58c7b5a7408da432d5) --- .../Core/Database/Driver/mysql/Connection.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/core/lib/Drupal/Core/Database/Driver/mysql/Connection.php b/core/lib/Drupal/Core/Database/Driver/mysql/Connection.php index a30500ff537..b957cb14ca6 100644 --- a/core/lib/Drupal/Core/Database/Driver/mysql/Connection.php +++ b/core/lib/Drupal/Core/Database/Driver/mysql/Connection.php @@ -200,19 +200,6 @@ class Connection extends DatabaseConnection { return $pdo; } - /** - * {@inheritdoc} - */ - public function serialize() { - // Cleanup the connection, much like __destruct() does it as well. - if ($this->needsCleanup) { - $this->nextIdDelete(); - } - $this->needsCleanup = FALSE; - - return parent::serialize(); - } - /** * {@inheritdoc} */