summaryrefslogtreecommitdiffstats
path: root/appinfo/routes.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-05-02 13:59:38 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-05-02 13:59:38 +0200
commitdf91fdfa373cacef6aa20998a00b8fbcfd164d1b (patch)
treeac522df64742cf93d918292ee806ad432d93f3a7 /appinfo/routes.php
parentc5dde50a7166f6e24776b680ea8da1c0e78a7543 (diff)
fix result return
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r--appinfo/routes.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 7d1c087e4..c82a011b3 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -210,7 +210,7 @@ $this->create('news_usersettings_language', '/usersettings/language')->get()->ac
function($urlParams) {
$container = new DIContainer();
$response = $container['FeedAPI']->getAll($urlParams);
- return \OC_OCS_Result($response);
+ return new \OC_OCS_Result($response);
},
'news',
\OC_API::USER_AUTH