clearCache after install plugin

This commit is contained in:
slawkens 2023-11-25 11:09:45 +01:00
parent 36ec2e1e56
commit f991a8c817

View File

@ -505,12 +505,7 @@ class Plugins {
self::$warnings[] = 'Cannot load install script. Your plugin might be not working correctly.'; self::$warnings[] = 'Cannot load install script. Your plugin might be not working correctly.';
} }
$cache = Cache::getInstance(); clearCache();
if($cache->enabled()) {
$cache->delete('templates');
$cache->delete('hooks');
$cache->delete('template_menus');
}
return true; return true;
} }