From 4206afe0c36d96ae1a77e0bc80974caaf550b7d2 Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Mon, 24 Sep 2018 15:45:52 -0600 Subject: [PATCH] Disabled osticket_needs_attention() * The flag has been repurposed in osTicket --- .bin/Scripts/functions/hw_diags.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.bin/Scripts/functions/hw_diags.py b/.bin/Scripts/functions/hw_diags.py index 0525d323..7817cde2 100644 --- a/.bin/Scripts/functions/hw_diags.py +++ b/.bin/Scripts/functions/hw_diags.py @@ -400,7 +400,9 @@ def osticket_get_ticket_name(ticket_id): ost_db['Errors'] = True def osticket_needs_attention(ticket_id): - """Marks the ticket as "NEEDS ATTENTION" in osTicket.""" + """[DISABLED] Marks the ticket as "NEEDS ATTENTION" in osTicket.""" + return # This function has been DISABLED due to a repurposing of that flag + if not ticket_id: raise GenericError if not ost_db['Cursor']: