"$cachedtype" was set twice.

"$cachedtype" is saved anayway before returning;
no need to set it here.

Signed-off-by: Thomas Hochstein <thh@inter.net>
This commit is contained in:
Thomas Hochstein 2020-03-23 20:50:46 +01:00
parent a5f28d3eb0
commit cb7819b4d9

View File

@ -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) {