diff options
Diffstat (limited to 'ajax')
-rw-r--r-- | ajax/usersettings.php | 18 |
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 |