From 9f7a822bb4a6c4559dba931b22de17beb2f566af Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Thu, 2 May 2013 17:40:41 +0200 Subject: use a custom result class --- external/feedapi.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'external/feedapi.php') diff --git a/external/feedapi.php b/external/feedapi.php index 0087886a2..580d9c2f0 100644 --- a/external/feedapi.php +++ b/external/feedapi.php @@ -26,7 +26,6 @@ namespace OCA\News\External; use \OCA\AppFramework\Core\API; -use \OCA\AppFramework\External\APIResult; use \OCA\AppFramework\Controller\Controller; use \OCA\AppFramework\Http\Request; @@ -73,7 +72,7 @@ class FeedAPI extends Controller { $this->itemBusinessLayer->getNewestItemId($userId); } catch(BusinessLayerException $ex) {} - return new APIResult($result); + return new NewsAPIResult($result); } -- cgit v1.2.3