summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/lib
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2023-08-14 21:12:12 +0200
committerRobin Appelman <robin@icewind.nl>2023-09-04 18:42:49 +0200
commit9055fef5eff14b74c1ecf4399ed4031f01edc044 (patch)
treede903e91ccc6f22de0c9f4e27b8ab169238661c9 /apps/files_trashbin/lib
parente718cbc6617ad83eda9274c59bb66c3b8f147796 (diff)
downloadnextcloud-server-9055fef5eff14b74c1ecf4399ed4031f01edc044.tar.gz
nextcloud-server-9055fef5eff14b74c1ecf4399ed4031f01edc044.zip
add IFileInfo::getParentId
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/files_trashbin/lib')
-rw-r--r--apps/files_trashbin/lib/Trash/TrashItem.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files_trashbin/lib/Trash/TrashItem.php b/apps/files_trashbin/lib/Trash/TrashItem.php
index 29de0a2ed5a..3bfc905d3a1 100644
--- a/apps/files_trashbin/lib/Trash/TrashItem.php
+++ b/apps/files_trashbin/lib/Trash/TrashItem.php
@@ -186,4 +186,8 @@ class TrashItem implements ITrashItem {
public function getUploadTime(): int {
return $this->fileInfo->getUploadTime();
}
+
+ public function getParentId(): int {
+ return $this->fileInfo->getParentId();
+ }
}