summaryrefslogtreecommitdiffstats
path: root/controllers/news.controller.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2012-10-13 05:03:05 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2012-10-13 05:03:05 +0200
commite5980c81413db26e42a2503cc751e1e03b9aa8b1 (patch)
tree7e3393e33e3969e6d2b370a293c073ec3d987bfd /controllers/news.controller.php
parent4b5f94b435b4756e3aa9e1a3fad3820ce1389ba8 (diff)
fixed bug that prevented creating of folders, linted menu.js, fixed weird html escaping for feed titles, removed all database queries from templates
Diffstat (limited to 'controllers/news.controller.php')
-rw-r--r--controllers/news.controller.php8
1 files changed, 1 insertions, 7 deletions
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 {