summaryrefslogtreecommitdiffstats
path: root/external/feedapi.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-05-02 17:40:41 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-05-02 17:40:41 +0200
commit9f7a822bb4a6c4559dba931b22de17beb2f566af (patch)
tree3e915f66172aab0c86e5ca60cc96d14452cafcda /external/feedapi.php
parent51d71796adc83cf937281920ffe588094ddbe5fb (diff)
use a custom result class
Diffstat (limited to 'external/feedapi.php')
-rw-r--r--external/feedapi.php3
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);
}