diff --git a/app/routines/update_user_contact_info.rb b/app/routines/update_user_contact_info.rb index 4cd58375d..b492791cc 100644 --- a/app/routines/update_user_contact_info.rb +++ b/app/routines/update_user_contact_info.rb @@ -101,13 +101,6 @@ def call :other_school_type end - if school != user.school.salesforce_id - user.school = School.find_by(salesforce_id: user.school.salesforce_id) - user.save - user.reload - # temporarily log these changes to see how frequent they are - Sentry.capture_message("User #{user.id} has a mismatched school id (Salesforce: #{sf_contact.school_id}, Accounts: #{user.school.salesforce_id})") - end sf_school = sf_contact.school user.school_location = case sf_school&.school_location when *DOMESTIC_SCHOOL_LOCATIONS