mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 09:44:55 +02:00
clearCache after install plugin
This commit is contained in:
@@ -505,12 +505,7 @@ class Plugins {
|
||||
self::$warnings[] = 'Cannot load install script. Your plugin might be not working correctly.';
|
||||
}
|
||||
|
||||
$cache = Cache::getInstance();
|
||||
if($cache->enabled()) {
|
||||
$cache->delete('templates');
|
||||
$cache->delete('hooks');
|
||||
$cache->delete('template_menus');
|
||||
}
|
||||
clearCache();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user