Fix cache:clear command (missing init)

This commit is contained in:
slawkens 2025-06-27 07:13:33 +02:00
parent 0bff910a05
commit fe8281594e

View File

@ -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);