[Pkg-owncloud-commits] [owncloud] 75/118: Fix fileglobalgc unlink parameter warnings
David Prévot
taffit at moszumanska.debian.org
Fri Mar 27 22:13:15 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 88a180fadb73f21cb0af32b4d2a9db6d6baf35a5
Author: Robin McCorkell <rmccorkell at karoshi.org.uk>
Date: Wed Mar 18 00:07:18 2015 +0000
Fix fileglobalgc unlink parameter warnings
---
lib/private/cache/fileglobalgc.php | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/private/cache/fileglobalgc.php b/lib/private/cache/fileglobalgc.php
index 0399927..0bd3f73 100644
--- a/lib/private/cache/fileglobalgc.php
+++ b/lib/private/cache/fileglobalgc.php
@@ -48,6 +48,8 @@ class FileGlobalGC extends Job {
return;
}
$paths = $this->getExpiredPaths($cacheDir, $now);
- array_walk($paths, 'unlink');
+ array_walk($paths, function($file) {
+ unlink($file);
+ });
}
}
--
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