diff --git a/lib/Alchemy/Phrasea/Controller/User/Notifications.php b/lib/Alchemy/Phrasea/Controller/User/Notifications.php index 152e523bb6..746ed7119b 100644 --- a/lib/Alchemy/Phrasea/Controller/User/Notifications.php +++ b/lib/Alchemy/Phrasea/Controller/User/Notifications.php @@ -32,35 +32,9 @@ class Notifications implements ControllerProviderInterface $app['firewall']->requireNotGuest(); }); - /** - * Read all notifications - * - * name : read_notifications_full - * - * description : Read full notification - * - * method : GET - * - * parameters : none - * - * return : JSON Response - */ $controllers->get('/', 'controller.user.notifications:listNotifications') ->bind('get_notifications'); - /** - * Set notifications as readed - * - * name : set_notifications_readed - * - * description : Set notifications as readed - * - * method : POST - * - * parameters : none - * - * return : JSON Response - */ $controllers->post('/read/', 'controller.user.notifications:readNotifications') ->bind('set_notifications_readed'); diff --git a/lib/Alchemy/Phrasea/Controller/User/Preferences.php b/lib/Alchemy/Phrasea/Controller/User/Preferences.php index 4435913203..44d2b9ecd4 100644 --- a/lib/Alchemy/Phrasea/Controller/User/Preferences.php +++ b/lib/Alchemy/Phrasea/Controller/User/Preferences.php @@ -32,35 +32,9 @@ class Preferences implements ControllerProviderInterface $app['firewall']->requireAuthentication(); }); - /** - * Save preferences - * - * name : save_pref - * - * description : Save User preferences - * - * method : POST - * - * parameters : none - * - * return : JSON Response - */ $controllers->post('/', 'controller.user.preferences:saveUserPref') ->bind('save_pref'); - /** - * Save temporary preferences - * - * name : save_temp_pref - * - * description : Save temporary preferences - * - * method : POST - * - * parameters : none - * - * return : JSON Response - */ $controllers->post('/temporary/', 'controller.user.preferences:saveTemporaryPref') ->bind('save_temp_pref');