Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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');
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment