diff options
-rw-r--r-- | apps/files_trashbin/lib/Trash/TrashItem.php | 4 | ||||
-rw-r--r-- | lib/private/Files/FileInfo.php | 4 | ||||
-rw-r--r-- | lib/private/Files/Node/LazyRoot.php | 7 | ||||
-rw-r--r-- | lib/private/Files/Node/Node.php | 4 | ||||
-rw-r--r-- | lib/public/Files/FileInfo.php | 10 |
5 files changed, 0 insertions, 29 deletions
diff --git a/apps/files_trashbin/lib/Trash/TrashItem.php b/apps/files_trashbin/lib/Trash/TrashItem.php index 12fd9b7c138..71830d8b91e 100644 --- a/apps/files_trashbin/lib/Trash/TrashItem.php +++ b/apps/files_trashbin/lib/Trash/TrashItem.php @@ -178,10 +178,6 @@ class TrashItem implements ITrashItem { return $this->getOriginalLocation(); } - public function getMetadataEtag(): ?string { - return $this->fileInfo->getMetadataEtag(); - } - public function getCreationTime(): int { return $this->fileInfo->getCreationTime(); } 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(); } diff --git a/lib/public/Files/FileInfo.php b/lib/public/Files/FileInfo.php index e1b57d4788c..4d9e76b27f3 100644 --- a/lib/public/Files/FileInfo.php +++ b/lib/public/Files/FileInfo.php @@ -270,16 +270,6 @@ interface FileInfo { public function getExtension(): string; /** - * Get the metadata etag for the file - * - * Unlike the regular etag, the metadata etag also gets updated on metadata only changes - * - * @return string | null - * @since 18.0.0 - */ - public function getMetadataEtag(): ?string; - - /** * Get the creation date as unix timestamp * * If the creation time is not known, 0 will be returned |