mirror of
https://github.com/slawkens/myaac.git
synced 2025-06-28 07:40:15 +02:00
Fix cache:clear command (missing init)
This commit is contained in:
parent
0bff910a05
commit
fe8281594e
@ -17,10 +17,7 @@ class CacheClearCommand extends Command
|
|||||||
|
|
||||||
protected function execute(InputInterface $input, OutputInterface $output): int
|
protected function execute(InputInterface $input, OutputInterface $output): int
|
||||||
{
|
{
|
||||||
global $hooks;
|
require SYSTEM . 'init.php';
|
||||||
$hooks = new Hooks();
|
|
||||||
$hooks->load();
|
|
||||||
$hooks->trigger(HOOK_INIT);
|
|
||||||
|
|
||||||
$io = new SymfonyStyle($input, $output);
|
$io = new SymfonyStyle($input, $output);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user