[Pkg-owncloud-commits] [php-sabredav] 10/66: Returning no last modification time by default for every node.
David Prévot
taffit at moszumanska.debian.org
Wed May 27 13:56:43 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to tag 3.0.0-alpha1
in repository php-sabredav.
commit 7c6427012fd46d746c7a75d3f113ec23d4f30cb1
Author: Evert Pot <me at evertpot.com>
Date: Mon Apr 13 16:38:51 2015 -0400
Returning no last modification time by default for every node.
---
lib/DAV/Node.php | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/DAV/Node.php b/lib/DAV/Node.php
index e3dd73e..97ef76e 100644
--- a/lib/DAV/Node.php
+++ b/lib/DAV/Node.php
@@ -14,15 +14,15 @@ namespace Sabre\DAV;
abstract class Node implements INode {
/**
- * Returns the last modification time
+ * Returns the last modification time as a unix timestamp.
*
- * In this case, it will simply return the current time
+ * If the information is not available, return null.
*
* @return int
*/
function getLastModified() {
- return time();
+ return null;
}
--
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