[Pkg-owncloud-commits] [php-sabredav] 21/75: ETag is based on the file's mtime.
David Prévot
taffit at moszumanska.debian.org
Thu Feb 26 18:51:50 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository php-sabredav.
commit 3952c6414ffe99d0af96bc44477f909b5485a497
Author: Ivan Enderlin <ivan.enderlin at hoa-project.net>
Date: Fri Nov 21 11:25:11 2014 +0100
ETag is based on the file's mtime.
---
lib/DAV/FS/File.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/DAV/FS/File.php b/lib/DAV/FS/File.php
index 3f3a57d..9cf4464 100644
--- a/lib/DAV/FS/File.php
+++ b/lib/DAV/FS/File.php
@@ -70,7 +70,7 @@ class File extends Node implements DAV\IFile {
*/
function getETag() {
- return null;
+ return '"' . sha1(filemtime($this->path)). '"';
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git
More information about the Pkg-owncloud-commits
mailing list