diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-05-02 17:40:41 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-05-02 17:40:41 +0200 |
commit | 9f7a822bb4a6c4559dba931b22de17beb2f566af (patch) | |
tree | 3e915f66172aab0c86e5ca60cc96d14452cafcda /external/feedapi.php | |
parent | 51d71796adc83cf937281920ffe588094ddbe5fb (diff) |
use a custom result class
Diffstat (limited to 'external/feedapi.php')
-rw-r--r-- | external/feedapi.php | 3 |
1 files changed, 1 insertions, 2 deletions
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); } |