diff options
Diffstat (limited to 'ajax')
-rw-r--r-- | ajax/movefeedtofolder.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ajax/movefeedtofolder.php b/ajax/movefeedtofolder.php new file mode 100644 index 000000000..e4a78d28a --- /dev/null +++ b/ajax/movefeedtofolder.php @@ -0,0 +1,23 @@ +<?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(); + +$folderId = $_POST['folderId']; +$itemId = $_POST['itemId']; + +// TODO: save + +OCP\JSON::success();
\ No newline at end of file |