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
|
||||
{
|
||||
global $hooks;
|
||||
$hooks = new Hooks();
|
||||
$hooks->load();
|
||||
$hooks->trigger(HOOK_INIT);
|
||||
require SYSTEM . 'init.php';
|
||||
|
||||
$io = new SymfonyStyle($input, $output);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user