diff --git a/lib/Service/DocumentService.php b/lib/Service/DocumentService.php index 334d4df2016..4dc27ac8406 100644 --- a/lib/Service/DocumentService.php +++ b/lib/Service/DocumentService.php @@ -517,10 +517,6 @@ public function checkSharePermissions($shareToken, $permission = Constants::PERM if (($share->getPermissions() & $permission) === 0) { throw new NotFoundException(); } - - if ($share->getHideDownload()) { - throw new NotPermittedException(); - } } public function hasUnsavedChanges(Document $document) {