Skip to content

Commit 57b1386

Browse files
committed
Revert "Avoid creating import notices for vaccination records"
This reverts commit 357cd2e.
1 parent 2faf833 commit 57b1386

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

app/models/vaccination_record.rb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -309,11 +309,7 @@ def recalculate_next_dose_delay_triage_date
309309
end
310310

311311
def should_generate_important_notice?
312-
if id_previously_changed? # new_record? is not available in after_save
313-
!notify_parents # important notices are only generated if this is false
314-
else
315-
notify_parents_previously_changed?
316-
end
312+
notify_parents_previously_changed?
317313
end
318314

319315
def generate_important_notice_if_needed

0 commit comments

Comments
 (0)