summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2019-10-30 15:36:23 +0100
committerRobin Appelman <robin@icewind.nl>2019-11-13 12:39:36 +0100
commit136c4ef925eb77a421b8bd67d476405603a0fa1d (patch)
tree9bfc4c779be43683c9985ecc726e7eb8ce5466a3 /lib/private
parent1b6e647b633d62dff9f37c0449538d4c382210f8 (diff)
downloadnextcloud-server-136c4ef925eb77a421b8bd67d476405603a0fa1d.tar.gz
nextcloud-server-136c4ef925eb77a421b8bd67d476405603a0fa1d.zip
dont expose metadata etag for now
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/Files/FileInfo.php4
-rw-r--r--lib/private/Files/Node/LazyRoot.php7
-rw-r--r--lib/private/Files/Node/Node.php4
3 files changed, 0 insertions, 15 deletions
diff --git a/lib/private/Files/FileInfo.php b/lib/private/Files/FileInfo.php
index bdc7a4b6341..ff6ab61270e 100644
--- a/lib/private/Files/FileInfo.php
+++ b/lib/private/Files/FileInfo.php
@@ -407,10 +407,6 @@ class FileInfo implements \OCP\Files\FileInfo, \ArrayAccess {
return pathinfo($this->getName(), PATHINFO_EXTENSION);
}
- public function getMetadataEtag(): ?string {
- return $this->data['metadata_etag'];
- }
-
public function getCreationTime(): int {
return $this->data['creation_time'];
}
diff --git a/lib/private/Files/Node/LazyRoot.php b/lib/private/Files/Node/LazyRoot.php
index 3e54d1254ad..f5d8cdc91a9 100644
--- a/lib/private/Files/Node/LazyRoot.php
+++ b/lib/private/Files/Node/LazyRoot.php
@@ -484,13 +484,6 @@ class LazyRoot implements IRootFolder {
/**
* @inheritDoc
*/
- public function getMetadataEtag(): ?string {
- return $this->__call(__FUNCTION__, func_get_args());
- }
-
- /**
- * @inheritDoc
- */
public function getCreationTime(): int {
return $this->__call(__FUNCTION__, func_get_args());
}
diff --git a/lib/private/Files/Node/Node.php b/lib/private/Files/Node/Node.php
index dcf5efa62d3..95d16cf5c99 100644
--- a/lib/private/Files/Node/Node.php
+++ b/lib/private/Files/Node/Node.php
@@ -444,10 +444,6 @@ class Node implements \OCP\Files\Node {
}
}
- public function getMetadataEtag(): ?string {
- return $this->getFileInfo()->getMetadataEtag();
- }
-
public function getCreationTime(): int {
return $this->getFileInfo()->getCreationTime();
}