summaryrefslogtreecommitdiffstats
path: root/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'controllers')
-rw-r--r--controllers/controller.php2
-rw-r--r--controllers/news.controller.php8
2 files changed, 2 insertions, 8 deletions
diff --git a/controllers/controller.php b/controllers/controller.php
index 82f60df76..73ad3ad4d 100644
--- a/controllers/controller.php
+++ b/controllers/controller.php
@@ -86,7 +86,7 @@ class Controller {
if(array_key_exists($key, $safeParams)) {
$template->assign($key, $value, false);
} else {
- $template->assign($key, $value, false);
+ $template->assign($key, $value);
}
}
diff --git a/controllers/news.controller.php b/controllers/news.controller.php
index ba3005b01..0ad4302d9 100644
--- a/controllers/news.controller.php
+++ b/controllers/news.controller.php
@@ -12,13 +12,7 @@
namespace OCA\News;
-
-class FeedType {
- const FEED = 0;
- const FOLDER = 1;
- const STARRED = 2;
- const SUBSCRIPTIONS = 3;
-}
+require_once(\OC_App::getAppPath('news') . '/lib/feedtypes.php');
class NewsController extends Controller {