Removed download hook when share not found
Signed-off-by: Baran Sekin <baransekin@gmail.com>
This commit is contained in:
parent
fc858fe12a
commit
2d0bb6dee1
|
@ -622,7 +622,6 @@ class ShareController extends AuthPublicShareController {
|
|||
$node = $node->get($path);
|
||||
} catch (NotFoundException $e) {
|
||||
$this->emitAccessShareHook($share, 404, 'Share not found');
|
||||
$this->emitDownloadShareHook($share, 404, 'Share not found');
|
||||
return new NotFoundResponse();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue