Commit 42fcd0e8 authored by Robin McCorkell's avatar Robin McCorkell
Browse files

Fix fileglobalgc unlink parameter warnings

parent c69cd28a
......@@ -48,6 +48,8 @@ class FileGlobalGC extends Job {
return;
}
$paths = $this->getExpiredPaths($cacheDir, $now);
array_walk($paths, 'unlink');
array_walk($paths, function($file) {
unlink($file);
});
}
}
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