diff options
Diffstat (limited to 'controller/feedapicontroller.php')
-rw-r--r-- | controller/feedapicontroller.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/controller/feedapicontroller.php b/controller/feedapicontroller.php index c75cd5879..2e48b5afe 100644 --- a/controller/feedapicontroller.php +++ b/controller/feedapicontroller.php @@ -66,7 +66,8 @@ class FeedApiController extends ApiController { try { - $result['newestItemId'] = $this->itemService->getNewestItemId($this->userId); + $result['newestItemId'] = + $this->itemService->getNewestItemId($this->userId); // in case there are no items, ignore } catch(ServiceNotFoundException $ex) {} @@ -92,7 +93,8 @@ class FeedApiController extends ApiController { $result = ['feeds' => [$feed]]; try { - $result['newestItemId'] = $this->itemService->getNewestItemId($this->userId); + $result['newestItemId'] = + $this->itemService->getNewestItemId($this->userId); // in case there are no items, ignore } catch(ServiceNotFoundException $ex) {} @@ -207,7 +209,7 @@ class FeedApiController extends ApiController { public function update($userId, $feedId) { try { $this->feedService->update($feedId, $userId); - // ignore update failure (feed could not be reachable etc, we don't care) + // ignore update failure } catch(\Exception $ex) { $this->logger->debug('Could not update feed ' . $ex->getMessage(), $this->loggerParams); |