1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-27 01:40:22 +02:00

Clear addons update check after plugin install, and when clearing all caches

This commit is contained in:
Moc
2021-01-02 16:34:11 +01:00
parent 2eebd4f0ca
commit ccd22d4ea5
2 changed files with 2 additions and 0 deletions

View File

@@ -94,6 +94,7 @@ if (isset($_POST['trigger_empty_cache']))
e107::getCache()->clearAll('browser'); e107::getCache()->clearAll('browser');
e107::getCache()->clearAll('js'); e107::getCache()->clearAll('js');
e107::getCache()->clearAll('css'); e107::getCache()->clearAll('css');
e107::getSession()->clear('addons-update-status');
e107::getLog()->flushMessages(CACLAN_26); e107::getLog()->flushMessages(CACLAN_26);
break; break;
} }

View File

@@ -4504,6 +4504,7 @@ class e107plugin
} }
e107::getPlug()->clearCache()->buildAddonPrefLists(); e107::getPlug()->clearCache()->buildAddonPrefLists();
e107::getSession()->clear('addons-update-status');
// $this->save_addon_prefs('update'); // $this->save_addon_prefs('update');