mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-10 11:33:17 +00:00
Update console commands
This commit is contained in:
@@ -54,8 +54,7 @@ class module_console_systemClearCache extends Command
|
||||
$filesystem->remove($finder);
|
||||
|
||||
if (setup::is_installed()) {
|
||||
$Core = \bootstrap::getCore();
|
||||
$Core['CacheService']->flushAll();
|
||||
$this->getService('phraseanet.cache-service')->flushAll();
|
||||
}
|
||||
|
||||
$output->write('Finished !', true);
|
||||
|
Reference in New Issue
Block a user