Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Controller/ImageController.php')
-rw-r--r--lib/Controller/ImageController.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Controller/ImageController.php b/lib/Controller/ImageController.php
index 5e8e587b0..b530cd733 100644
--- a/lib/Controller/ImageController.php
+++ b/lib/Controller/ImageController.php
@@ -213,7 +213,6 @@ class ImageController extends Controller {
* @throws \OCP\Files\NotFoundException
* @throws \OCP\Files\NotPermittedException
* @throws \OCP\Lock\LockedException
- * @throws \OC\User\NoUserException
*/
public function getImage(int $textFileId, string $imageFileName): DataDisplayResponse {
$imageFile = $this->imageService->getImage($textFileId, $imageFileName, $this->userId);
@@ -237,7 +236,6 @@ class ImageController extends Controller {
* @throws \OCP\Files\NotFoundException
* @throws \OCP\Files\NotPermittedException
* @throws \OCP\Lock\LockedException
- * @throws \OC\User\NoUserException
*/
public function getImagePublic(int $textFileId, string $imageFileName, string $shareToken): DataDisplayResponse {
$imageFile = $this->imageService->getImagePublic($textFileId, $imageFileName, $shareToken);