summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/lib/Trash/TrashItem.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_trashbin/lib/Trash/TrashItem.php')
-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 cd7079bcf26..40ceb59abaa 100644
--- a/apps/files_trashbin/lib/Trash/TrashItem.php
+++ b/apps/files_trashbin/lib/Trash/TrashItem.php
@@ -169,4 +169,8 @@ class TrashItem implements ITrashItem {
public function getChecksum() {
return $this->fileInfo->getChecksum();
}
+
+ public function getExtension(): string {
+ return $this->fileInfo->getExtension();
+ }
}