From 1a582f2a7a125d3d9c5c4c295132acb25d1ae03b Mon Sep 17 00:00:00 2001 From: Marco Nassabain Date: Thu, 4 Mar 2021 22:06:20 +0100 Subject: =?UTF-8?q?=F0=9F=9A=91=20Fix=20ItemController::share=20-=20call?= =?UTF-8?q?=20correct=20ShareService=20function=20-=20correct=20ShareServi?= =?UTF-8?q?ce=20className=20annotation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marco Nassabain --- lib/Controller/ItemController.php | 2 +- lib/Service/ShareService.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/Controller/ItemController.php b/lib/Controller/ItemController.php index e3ef4b9e5..ec56a9e33 100644 --- a/lib/Controller/ItemController.php +++ b/lib/Controller/ItemController.php @@ -336,7 +336,7 @@ class ItemController extends Controller public function share($itemId, $shareWithId) { try { - $this->shareService->share( + $this->shareService->shareItemWithUser( $this->getUserId(), $itemId, $shareWithId diff --git a/lib/Service/ShareService.php b/lib/Service/ShareService.php index db7f73c7e..66417452d 100644 --- a/lib/Service/ShareService.php +++ b/lib/Service/ShareService.php @@ -19,7 +19,7 @@ use OCA\News\Service\Exceptions\ServiceNotFoundException; use OCP\AppFramework\Db\DoesNotExistException; /** - * Class ImportService + * Class ShareService * * @package OCA\News\Service */ -- cgit v1.2.3