From 4f1d1427f9cc07cd0818715db1ead56ff189038f Mon Sep 17 00:00:00 2001
From: ale <ale@incal.net>
Date: Sun, 14 Feb 2021 17:41:15 +0000
Subject: [PATCH] Remove patch that does nothing

---
 ...on-t-write-timestamp-cache-in-config.patch | 44 -------------------
 1 file changed, 44 deletions(-)
 delete mode 100644 patches/0198-wp-super-cache-don-t-write-timestamp-cache-in-config.patch

diff --git a/patches/0198-wp-super-cache-don-t-write-timestamp-cache-in-config.patch b/patches/0198-wp-super-cache-don-t-write-timestamp-cache-in-config.patch
deleted file mode 100644
index d4d2caf2..00000000
--- a/patches/0198-wp-super-cache-don-t-write-timestamp-cache-in-config.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From 0fe2fdaa162e1b7c846449d506ab5b88ac24484c Mon Sep 17 00:00:00 2001
-From: godog <godog@autistici.org>
-Date: Sat, 30 Sep 2017 16:05:26 +0200
-Subject: [PATCH 198/229] wp-super-cache: don't write timestamp cache in config
- file
-
-Fixes ai/issues#104
----
- .../plugins/wp-super-cache/wp-cache-phase2.php    | 15 +++++++++++++++
- 1 file changed, 15 insertions(+)
-
-diff --git a/wp-content/plugins/wp-super-cache/wp-cache-phase2.php b/wp-content/plugins/wp-super-cache/wp-cache-phase2.php
-index bc9c91c6..21315f5c 100644
---- a/wp-content/plugins/wp-super-cache/wp-cache-phase2.php
-+++ b/wp-content/plugins/wp-super-cache/wp-cache-phase2.php
-@@ -3216,6 +3216,7 @@ function wp_cache_gc_watcher() {
- 	}
- }
- 
-+
- if ( ! function_exists( 'apache_request_headers' ) ) {
- 	/**
- 	 * A fallback for get request headers.
-@@ -3236,3 +3237,17 @@ if ( ! function_exists( 'apache_request_headers' ) ) {
- 		return $headers;
- 	}
- }
-+
-+/*
-+ * Do not write the blog timestamp in the config file.
-+ * wp-cache-config.php isn't writable by 'noblogs' user.
-+ * https://git.autistici.org/ai/issues/issues/104
-+
-+function wpsc_timestamp_cache_update( $type, $permalink ) {
-+	wp_cache_setting( 'wpsc_last_post_update', time() );
-+}
-+add_action( 'gc_cache', 'wpsc_timestamp_cache_update', 10, 2 );
-+
-+*/
-+
-+?>
--- 
-2.17.1
-
-- 
GitLab