[Pkg-owncloud-commits] [owncloud] 13/118: fix warning in gc
David Prévot
taffit at moszumanska.debian.org
Fri Mar 27 22:13:06 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch stable8
in repository owncloud.
commit c0cfd2ddbbc1a8770739742b88009acee3763f94
Author: Robin Appelman <icewind at owncloud.com>
Date: Thu Feb 26 16:42:41 2015 +0100
fix warning in gc
---
lib/private/cache/fileglobalgc.php | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/private/cache/fileglobalgc.php b/lib/private/cache/fileglobalgc.php
index e170de8..0399927 100644
--- a/lib/private/cache/fileglobalgc.php
+++ b/lib/private/cache/fileglobalgc.php
@@ -47,6 +47,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');
}
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list