mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 17:54: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.';
|
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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user