From cb7819b4d9d80ad6ed4dfdebb6e8c841ca90b25c Mon Sep 17 00:00:00 2001 From: Thomas Hochstein Date: Mon, 23 Mar 2020 20:50:46 +0100 Subject: [PATCH] "$cachedtype" was set twice. "$cachedtype" is saved anayway before returning; no need to set it here. Signed-off-by: Thomas Hochstein --- .../serendipity_event_spartacus/serendipity_event_spartacus.php | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php b/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php index ae3b14d8..6ba36346 100644 --- a/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php +++ b/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php @@ -716,7 +716,6 @@ class serendipity_event_spartacus extends serendipity_event if (isset($cachedtype) && $cachedtype != $type) { // bust cache if called with other type $pluginlist = null; - $cachedtype = $type; } if ($pluginlist === null) {