summaryrefslogtreecommitdiffstats
path: root/appinfo/routes.php
diff options
context:
space:
mode:
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