Commit dcb2b311 authored by Stan Hu's avatar Stan Hu

Resolve more conflicts in app/models/project.rb

parent 6452c9c7
......@@ -69,16 +69,11 @@ class Project < ActiveRecord::Base
default_value_for :only_mirror_protected_branches, true
add_authentication_token_field :runners_token
<<<<<<< HEAD
before_validation :mark_remote_mirrors_for_removal
=======
before_validation :mark_remote_mirrors_for_removal, if: -> { ActiveRecord::Base.connection.table_exists?(:remote_mirrors) }
before_save :ensure_runners_token
>>>>>>> upstream/master
before_save :ensure_runners_token
after_save :update_project_statistics, if: :namespace_id_changed?
after_save :create_import_state, if: ->(project) { project.import? && project.import_state.nil? }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment