mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-10 11:33:17 +00:00
Remove useless cache.paths services, use cache.path instead
This commit is contained in:
@@ -31,10 +31,7 @@ class module_console_systemClearCache extends Command
|
||||
{
|
||||
$finder = new Finder();
|
||||
|
||||
$in = [];
|
||||
foreach ($this->container['cache.paths'] as $path) {
|
||||
$in[] = $path;
|
||||
};
|
||||
$in = $this->container['cache.path'];
|
||||
$finder
|
||||
->exclude('.git')
|
||||
->exclude('.svn')
|
||||
|
Reference in New Issue
Block a user