From 481eff9486211c17ca57593ab33345e9aaad1b6b Mon Sep 17 00:00:00 2001 From: amcmanu3 Date: Wed, 16 Aug 2023 13:41:18 -0400 Subject: [PATCH] Remove send_order from ajax handler --- app/classes/web/ajax_handler.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/app/classes/web/ajax_handler.py b/app/classes/web/ajax_handler.py index 9be31b99..e38648f4 100644 --- a/app/classes/web/ajax_handler.py +++ b/app/classes/web/ajax_handler.py @@ -114,13 +114,7 @@ class AjaxHandler(BaseHandler): if api_key is not None: superuser = superuser and api_key.superuser - if page == "send_order": - self.controller.users.update_server_order( - exec_user["user_id"], bleach.clean(self.get_argument("order")) - ) - return - - elif page == "select_photo": + if page == "select_photo": if exec_user["superuser"]: photo = urllib.parse.unquote(self.get_argument("photo", "")) opacity = self.get_argument("opacity", 100)