fix warning in gc
This commit is contained in:
parent
9baf758150
commit
5bb1a131e4
|
@ -66,6 +66,7 @@ class FileGlobalGC extends Job {
|
||||||
if (!is_dir($cacheDir)) {
|
if (!is_dir($cacheDir)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
array_walk($this->getExpiredPaths($cacheDir, $now), 'unlink');
|
$paths = $this->getExpiredPaths($cacheDir, $now);
|
||||||
|
array_walk($paths, 'unlink');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue