From 8395cabe21498756b169237343dc34726c3a1d22 Mon Sep 17 00:00:00 2001
From: ale <ale@incal.net>
Date: Wed, 17 Feb 2021 11:15:42 +0000
Subject: [PATCH] Remove hyperdb patch that is no longer necessary

---
 composer.patches.json                         |  1 -
 ...he-global-wpdb_hash-instance-moved-i.patch | 28 -------------------
 2 files changed, 29 deletions(-)
 delete mode 100644 patches/hyperdb/0106-a-few-fixes-to-the-global-wpdb_hash-instance-moved-i.patch

diff --git a/composer.patches.json b/composer.patches.json
index a00ebbe6..b4ec8926 100644
--- a/composer.patches.json
+++ b/composer.patches.json
@@ -17,7 +17,6 @@
             "Minimalism theme footer": "patches/themes/themes-minimalism.patch"
         },
         "wpackagist-plugin/hyperdb": {
-	    "A few fixes to the global wpdb_hash instance (moved into wpdb)": "patches/hyperdb/0106-a-few-fixes-to-the-global-wpdb_hash-instance-moved-i.patch",
 	    "Added optional logging": "patches/hyperdb/0158-Added-optional-logging.patch"
         },
         "wpackagist-plugin/more-privacy-options": {
diff --git a/patches/hyperdb/0106-a-few-fixes-to-the-global-wpdb_hash-instance-moved-i.patch b/patches/hyperdb/0106-a-few-fixes-to-the-global-wpdb_hash-instance-moved-i.patch
deleted file mode 100644
index 25a9e5cb..00000000
--- a/patches/hyperdb/0106-a-few-fixes-to-the-global-wpdb_hash-instance-moved-i.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From b125a7d25e2d6d9b4ee0899fce6de8522847c226 Mon Sep 17 00:00:00 2001
-From: root <root@rivolta.investici.org>
-Date: Sun, 6 Mar 2011 01:40:07 +0000
-Subject: [PATCH 106/229] a few fixes to the global wpdb_hash instance (moved
- into $wpdb)
-
----
-diff --git a/wp-content/db.php b/wp-content/db.php
-index f900d305..f819e225 100644
---- a/wp-content/db.php
-+++ b/wp-content/db.php
-@@ -51,6 +51,13 @@ define( 'HYPERDB_CONN_HOST_ERROR', 2003 );   // Can't connect to MySQL server on
- define( 'HYPERDB_SERVER_GONE_ERROR', 2006 ); // MySQL server has gone away
- 
- class hyperdb extends wpdb {
-+
-+        /**
-+	 * A/I patch! 
-+	 * store a FlexiHash() instance here.
-+	 */
-+	var $hash_map;
-+
- 	/**
- 	 * The last table that was queried
- 	 * @var string
--- 
-2.17.1
-
-- 
GitLab