diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-02-26 12:02:11 -0800 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-02-26 12:02:11 -0800 |
commit | de47a1e3298cd2b6f47df8721832c2165335dfee (patch) | |
tree | 658a4893c71f252decd438bfb5865e5f69a82bf3 | |
parent | 1777609d4723829bfe12e136ccf70bbbd9a1b5c0 (diff) | |
parent | 5bb1a131e42a4db1b64aab563d36dc996635a9dd (diff) | |
download | nextcloud-server-de47a1e3298cd2b6f47df8721832c2165335dfee.tar.gz nextcloud-server-de47a1e3298cd2b6f47df8721832c2165335dfee.zip |
Merge pull request #14550 from owncloud/gc-warning
Fix warning in filecache gc
-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'); } } |