Remove useless cache.paths services, use cache.path instead

This commit is contained in:
Benoît Burnichon
2015-04-14 15:23:35 +02:00
parent 05639e0953
commit 0349db4adb
4 changed files with 25 additions and 50 deletions

View File

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