diff options
Diffstat (limited to 'apps/files_trashbin/lib')
-rw-r--r-- | apps/files_trashbin/lib/Sabre/TrashHome.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/lib/Sabre/TrashHome.php b/apps/files_trashbin/lib/Sabre/TrashHome.php index 45a95ccea80..9c460dbba20 100644 --- a/apps/files_trashbin/lib/Sabre/TrashHome.php +++ b/apps/files_trashbin/lib/Sabre/TrashHome.php @@ -44,7 +44,7 @@ class TrashHome implements ICollection { } public function delete() { - throw new Forbidden('Permission denied to delete your trashbin'); + \OCA\Files_Trashbin\Trashbin::deleteAll(); } public function getName(): string { |