diff --git a/lib/classes/module/console/systemClearCache.php b/lib/classes/module/console/systemClearCache.php index 9624294d8e..8cdc4a19f1 100644 --- a/lib/classes/module/console/systemClearCache.php +++ b/lib/classes/module/console/systemClearCache.php @@ -31,7 +31,7 @@ class module_console_systemClearCache extends Command { $finder = new Finder(); - $in = $this->container['cache.paths']->toArray(); + $in = $this->container['cache.paths']->getArrayCopy(); $finder ->exclude('.git') ->exclude('.svn')