summaryrefslogtreecommitdiffstats
path: root/ajax
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2012-08-14 15:49:49 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2012-08-14 15:49:49 +0200
commit0c73f5cf321274e7f99f2ed86cb60c2c6a6a1451 (patch)
tree23d24ff6cae290ca208d2c7a60344973245b45c6 /ajax
parentc072cc7ff8aa06a84b5f17f2a8f648649b4ae397 (diff)
Dont issue more post request on read than necesarry, make show only new items the default database settings still need to be written though, simplified and cleaned up the feedlist code, html and css
Diffstat (limited to 'ajax')
-rw-r--r--ajax/usersettings.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/ajax/usersettings.php b/ajax/usersettings.php
new file mode 100644
index 000000000..f9657f4a9
--- /dev/null
+++ b/ajax/usersettings.php
@@ -0,0 +1,18 @@
+<?php
+/**
+* ownCloud - News app
+*
+* @author Bernhard Posselt
+* Copyright (c) 2012 - Bernhard Posselt <nukeawhale@gmail.com>
+*
+* This file is licensed under the Affero General Public License version 3 or later.
+* See the COPYING-README file
+*
+*/
+
+// Check if we are a user
+OCP\JSON::checkLoggedIn();
+OCP\JSON::checkAppEnabled('news');
+OCP\JSON::callCheck();
+
+// TODO: receive and save user settings \ No newline at end of file