From ccd22d4ea50bb1bb80b5385263b94a5760743e06 Mon Sep 17 00:00:00 2001 From: Moc Date: Sat, 2 Jan 2021 16:34:11 +0100 Subject: [PATCH] Clear addons update check after plugin install, and when clearing all caches --- e107_admin/cache.php | 1 + e107_handlers/plugin_class.php | 1 + 2 files changed, 2 insertions(+) diff --git a/e107_admin/cache.php b/e107_admin/cache.php index 896b19ee1..f3cfadfd6 100644 --- a/e107_admin/cache.php +++ b/e107_admin/cache.php @@ -94,6 +94,7 @@ if (isset($_POST['trigger_empty_cache'])) e107::getCache()->clearAll('browser'); e107::getCache()->clearAll('js'); e107::getCache()->clearAll('css'); + e107::getSession()->clear('addons-update-status'); e107::getLog()->flushMessages(CACLAN_26); break; } diff --git a/e107_handlers/plugin_class.php b/e107_handlers/plugin_class.php index 1463cd71d..518b37e9c 100644 --- a/e107_handlers/plugin_class.php +++ b/e107_handlers/plugin_class.php @@ -4504,6 +4504,7 @@ class e107plugin } e107::getPlug()->clearCache()->buildAddonPrefLists(); + e107::getSession()->clear('addons-update-status'); // $this->save_addon_prefs('update');