fix warning in gc

This commit is contained in:
Robin Appelman 2015-02-26 16:42:41 +01:00
parent 9baf758150
commit 5bb1a131e4
1 changed files with 2 additions and 1 deletions

View File

@ -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');
}
}