mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
clearCache after install plugin
This commit is contained in:
parent
36ec2e1e56
commit
f991a8c817
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user