diff --git a/lib/Service/DocumentService.php b/lib/Service/DocumentService.php index ea142b03a54..61e20f50e04 100644 --- a/lib/Service/DocumentService.php +++ b/lib/Service/DocumentService.php @@ -494,10 +494,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) {