Skip to content

Commit

Permalink
uncomment previously commented code which takes care of unassiging a …
Browse files Browse the repository at this point in the history
…ticket.
  • Loading branch information
kotowicz committed Nov 28, 2011
1 parent eaf7811 commit c79ba8d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions helpdesk/views/staff.py
Expand Up @@ -244,11 +244,10 @@ def update_ticket(request, ticket_id, public=False):
}
ticket.assigned_to = new_user
reassigned = True
# This makes no sense to me. Why should we ever remove the 'assigned to'
# value?
#elif owner == 0 and ticket.assigned_to is not None:
# f.title = _('Unassigned')
# ticket.assigned_to = None
# user changed owner to 'unassign'
elif owner == 0 and ticket.assigned_to is not None:
f.title = _('Unassigned')
ticket.assigned_to = None

if new_status != ticket.status:
ticket.status = new_status
Expand Down

0 comments on commit c79ba8d

Please sign in to comment.