summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/lib/Sabre/TrashFolderFolder.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-05-10 16:03:28 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-05-11 20:45:03 +0200
commit5eb72a8a57210b44668fc1677ac3e057444665be (patch)
treea8f2875184e4fa3a88ddf17d194c7122185217b0 /apps/files_trashbin/lib/Sabre/TrashFolderFolder.php
parent8d17d7f6cd1027a96586a25ae5a583ec50d56797 (diff)
downloadnextcloud-server-5eb72a8a57210b44668fc1677ac3e057444665be.tar.gz
nextcloud-server-5eb72a8a57210b44668fc1677ac3e057444665be.zip
Support fileid propfind on trash endpoint
Fixes #9416 In order to support previews on mobile clients they will need the fileid of files in the trashbin. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files_trashbin/lib/Sabre/TrashFolderFolder.php')
-rw-r--r--apps/files_trashbin/lib/Sabre/TrashFolderFolder.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files_trashbin/lib/Sabre/TrashFolderFolder.php b/apps/files_trashbin/lib/Sabre/TrashFolderFolder.php
index de0725ab92f..2fe75479c1b 100644
--- a/apps/files_trashbin/lib/Sabre/TrashFolderFolder.php
+++ b/apps/files_trashbin/lib/Sabre/TrashFolderFolder.php
@@ -136,4 +136,8 @@ class TrashFolderFolder implements ICollection, ITrash {
public function getSize(): int {
return $this->data->getSize();
}
+
+ public function getFileId(): int {
+ return $this->data->getId();
+ }
}