Commit 5bb1a131 authored by Robin Appelman's avatar Robin Appelman
Browse files

fix warning in gc

parent 9baf7581
......@@ -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