summaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/support/app/models/account_extension/tickets.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/support/app/models/account_extension/tickets.rb b/engines/support/app/models/account_extension/tickets.rb
index f898b56..f38d5fd 100644
--- a/engines/support/app/models/account_extension/tickets.rb
+++ b/engines/support/app/models/account_extension/tickets.rb
@@ -1,9 +1,9 @@
module AccountExtension::Tickets
extend ActiveSupport::Concern
- def destroy_with_tickets
+ def destroy_with_tickets(destroy_identities=false)
Ticket.destroy_all_from(self.user)
- destroy_without_tickets
+ destroy_without_tickets(destroy_identities)
end
included do