Rename delete_and_keep_track -> discard_and_keep_track
This commit is contained in:
parent
b974020785
commit
c707a21f97
10 changed files with 27 additions and 23 deletions
|
@ -120,7 +120,7 @@ class User < ApplicationRecord
|
|||
end
|
||||
|
||||
dossiers.each do |dossier|
|
||||
dossier.delete_and_keep_track!(administration, :user_removed)
|
||||
dossier.discard_and_keep_track!(administration, :user_removed)
|
||||
end
|
||||
dossiers.with_discarded.destroy_all
|
||||
destroy!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue