diff options
author | Robin Appelman <robin@icewind.nl> | 2019-10-29 13:49:41 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2019-11-13 12:39:32 +0100 |
commit | 1b6e647b633d62dff9f37c0449538d4c382210f8 (patch) | |
tree | 187bd9f192e9ead23027dfedb71295b308d3882a /apps/files_trashbin | |
parent | 842da3f18364c50ca907f4ac984ded1ecafd35fe (diff) | |
download | nextcloud-server-1b6e647b633d62dff9f37c0449538d4c382210f8.tar.gz nextcloud-server-1b6e647b633d62dff9f37c0449538d4c382210f8.zip |
expose filecache extension data in FileInfo
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/files_trashbin')
-rw-r--r-- | apps/files_trashbin/lib/Trash/TrashItem.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/files_trashbin/lib/Trash/TrashItem.php b/apps/files_trashbin/lib/Trash/TrashItem.php index 0112b6dbc8e..12fd9b7c138 100644 --- a/apps/files_trashbin/lib/Trash/TrashItem.php +++ b/apps/files_trashbin/lib/Trash/TrashItem.php @@ -177,4 +177,16 @@ class TrashItem implements ITrashItem { public function getTitle(): string { return $this->getOriginalLocation(); } + + public function getMetadataEtag(): ?string { + return $this->fileInfo->getMetadataEtag(); + } + + public function getCreationTime(): int { + return $this->fileInfo->getCreationTime(); + } + + public function getUploadTime(): int { + return $this->fileInfo->getUploadTime(); + } } |