1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-20 20:51:53 +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
No known key found for this signature in database
GPG Key ID: AAEA3CC2C5A308F2
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('js');
e107::getCache()->clearAll('css');
e107::getSession()->clear('addons-update-status');
e107::getLog()->flushMessages(CACLAN_26);
break;
}

View File

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