diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Controller/ItemController.php | 2 | ||||
-rw-r--r-- | lib/Service/ShareService.php | 2 |
2 files changed, 2 insertions, 2 deletions
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 */ |