mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-06-08 18:57:24 +02:00
UDPATED: Use <views.staff.subscribe_to_ticket_updates> instead of <views.staff.subscribe_staff_member_to_ticket> when adding non-staff members to <TicketCC> instances
This commit is contained in:
parent
b5ff3f9063
commit
e880747a2b
@ -576,9 +576,10 @@ class Ticket(models.Model):
|
|||||||
except user_model.DoesNotExist:
|
except user_model.DoesNotExist:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
# Local import to deal with non-defined / circular reference problem
|
||||||
from .views import staff
|
from .views import staff
|
||||||
|
|
||||||
ticket_cc = staff.subscribe_staff_member_to_ticket(ticket=self, user=user, email=cced_email)
|
ticket_cc = staff.subscribe_to_ticket_updates(ticket=self, user=user, email=cced_email)
|
||||||
|
|
||||||
|
|
||||||
def save(self, *args, **kwargs):
|
def save(self, *args, **kwargs):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user