From 80322ed9575a90f25b5a286193fa3fe1b92ea3ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Burnichon?= Date: Tue, 13 Oct 2015 10:32:52 +0200 Subject: [PATCH] Proper use of ArrayObject::getArrayCopy() ArrayObject::toArray() does not exists --- lib/classes/module/console/systemClearCache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')