Skip to content

Commit 7eed70f

Browse files
Merge pull request #61968 from nextcloud/backport/61917/stable34
[stable34] fix: Catch expected NotFoundException
2 parents 4615871 + 40f1f96 commit 7eed70f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/files_sharing/lib/Controller/ShareInfoController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
*/
77
namespace OCA\Files_Sharing\Controller;
88

9-
use OCA\Files_External\NotFoundException;
109
use OCA\Files_Sharing\ResponseDefinitions;
1110
use OCP\AppFramework\ApiController;
1211
use OCP\AppFramework\Http;
@@ -19,6 +18,7 @@
1918
use OCP\Files\File;
2019
use OCP\Files\Folder;
2120
use OCP\Files\Node;
21+
use OCP\Files\NotFoundException;
2222
use OCP\IRequest;
2323
use OCP\Share\Exceptions\ShareNotFound;
2424
use OCP\Share\IManager;

0 commit comments

Comments
 (0)