Commit 250fbc1
committed
Remove duplication in
This removes duplicate calls to `PatientTeamUpdater` and
`PatientStatusUpdater` in the `SchoolMove#confirm!` method.
Previously we were calling these in both the `update_locations!`, and
`update_patient_statuses!` and `update_patient_teams!` methods.
I expect that removing the duplication should introduce a small
performance improvement on school moves.SchoolMove
1 parent fa4587e commit 250fbc1
1 file changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | 82 | | |
84 | 83 | | |
85 | 84 | | |
| |||
90 | 89 | | |
91 | 90 | | |
92 | 91 | | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | 194 | | |
198 | 195 | | |
199 | 196 | | |
| |||
0 commit comments