diff options
Diffstat (limited to 'controller/itemapicontroller.php')
-rw-r--r-- | controller/itemapicontroller.php | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/controller/itemapicontroller.php b/controller/itemapicontroller.php index 8cd8b5578..5ab728d55 100644 --- a/controller/itemapicontroller.php +++ b/controller/itemapicontroller.php @@ -82,15 +82,6 @@ class ItemApiController extends ApiController { } - private function setStarred($isStarred, $feedId, $guidHash) { - try { - $this->itemBusinessLayer->star($feedId, $guidHash, $isStarred, $this->userId); - } catch(BusinessLayerException $ex){ - return $this->error($ex, Http::STATUS_NOT_FOUND); - } - } - - /** * @NoAdminRequired * @NoCSRFRequired @@ -115,6 +106,15 @@ class ItemApiController extends ApiController { } + private function setStarred($isStarred, $feedId, $guidHash) { + try { + $this->itemBusinessLayer->star($feedId, $guidHash, $isStarred, $this->userId); + } catch(BusinessLayerException $ex){ + return $this->error($ex, Http::STATUS_NOT_FOUND); + } + } + + /** * @NoAdminRequired * @NoCSRFRequired |