diff options
Diffstat (limited to 'lib/Service')
-rw-r--r-- | lib/Service/ItemService.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/Service/ItemService.php b/lib/Service/ItemService.php index f1f3c968b..946c1ad30 100644 --- a/lib/Service/ItemService.php +++ b/lib/Service/ItemService.php @@ -361,4 +361,15 @@ class ItemService extends Service throw new ServiceNotFoundException($ex->getMessage()); } } + + /** + * Returns the shared count + * + * @param string $userId the name of the user + * @return int the count + */ + public function starredShared($userId) + { + return $this->itemMapper->sharedCount($userId); + } } |