From 1b6e647b633d62dff9f37c0449538d4c382210f8 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Tue, 29 Oct 2019 13:49:41 +0100 Subject: expose filecache extension data in FileInfo Signed-off-by: Robin Appelman --- apps/files_trashbin/lib/Trash/TrashItem.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'apps/files_trashbin/lib') 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(); + } } -- cgit v1.2.3