Commit de47a1e3 authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #14550 from owncloud/gc-warning

Fix warning in filecache gc
parents 1777609d 5bb1a131
......@@ -66,6 +66,7 @@ class FileGlobalGC extends Job {
if (!is_dir($cacheDir)) {
return;
}
array_walk($this->getExpiredPaths($cacheDir, $now), 'unlink');
$paths = $this->getExpiredPaths($cacheDir, $now);
array_walk($paths, 'unlink');
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment