Skip to content

Commit

Permalink
delint
Browse files Browse the repository at this point in the history
  • Loading branch information
cycomachead committed Mar 7, 2025
1 parent 7e3e39d commit 8e39ac4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/controllers/teachers_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def update

valid_school = update_school_through_teacher
return if !valid_school

attach_new_files_if_any
send_email_if_application_status_changed_and_email_resend_enabled

Expand Down
2 changes: 1 addition & 1 deletion app/models/teacher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def snap_username
def admin_attributes_changed?
self.email_changed? || self.personal_email_changed? || self.snap_changed?
end

def try_append_ip(ip)
return if ip_history.include?(ip)
self.ip_history << ip
Expand Down

0 comments on commit 8e39ac4

Please sign in to comment.