Update console commands

This commit is contained in:
Romain Neutron
2012-09-21 14:53:04 +02:00
parent 0343baf8ba
commit 06b4e6bc6f
13 changed files with 195 additions and 214 deletions

View File

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