remove commented callback code

This commit is contained in:
Sven Fuchs 2016-06-21 15:20:24 +02:00
parent 25f74defe5
commit dc176e0c0e

View File

@ -17,7 +17,6 @@ class User < Travis::Model
before_create :set_as_recent before_create :set_as_recent
after_create :create_a_token after_create :create_a_token
# after_commit :sync, on: :create
before_save :track_previous_changes before_save :track_previous_changes
serialize :github_scopes serialize :github_scopes
@ -66,10 +65,6 @@ class User < Travis::Model
synced_at.nil? synced_at.nil?
end end
# def sync
# Travis.run_service(:sync_user, self) # TODO move to the authentication endpoint, or create a separate service
# end
def syncing? def syncing?
is_syncing? is_syncing?
end end