uncomment previously commented code which takes care of unassiging a ticket.

This commit is contained in:
Andreas Kotowicz 2011-11-28 14:49:37 +01:00
parent eaf78115d2
commit c79ba8de01

View File

@ -244,11 +244,10 @@ def update_ticket(request, ticket_id, public=False):
} }
ticket.assigned_to = new_user ticket.assigned_to = new_user
reassigned = True reassigned = True
# This makes no sense to me. Why should we ever remove the 'assigned to' # user changed owner to 'unassign'
# value? elif owner == 0 and ticket.assigned_to is not None:
#elif owner == 0 and ticket.assigned_to is not None: f.title = _('Unassigned')
# f.title = _('Unassigned') ticket.assigned_to = None
# ticket.assigned_to = None
if new_status != ticket.status: if new_status != ticket.status:
ticket.status = new_status ticket.status = new_status