diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-02-26 16:42:41 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2015-02-26 16:42:41 +0100 |
commit | 5bb1a131e42a4db1b64aab563d36dc996635a9dd (patch) | |
tree | 4d3f23e4bab8ef195f1e513d5c7edaad599f1a52 /lib | |
parent | 9baf758150e348f7e1f0edf57bb432a0cbf6ff1b (diff) | |
download | nextcloud-server-5bb1a131e42a4db1b64aab563d36dc996635a9dd.tar.gz nextcloud-server-5bb1a131e42a4db1b64aab563d36dc996635a9dd.zip |
fix warning in gc
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/cache/fileglobalgc.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/cache/fileglobalgc.php b/lib/private/cache/fileglobalgc.php index c95154952de..63de24fa50b 100644 --- a/lib/private/cache/fileglobalgc.php +++ b/lib/private/cache/fileglobalgc.php @@ -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'); } } |