Commit cad73304 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Resolve prepend related conflicts

parent 8f9cf685
......@@ -123,15 +123,11 @@ class ApplicationController < ActionController::Base
end
def after_sign_out_path_for(resource)
<<<<<<< HEAD
if Gitlab::Geo.secondary?
Gitlab::Geo.primary_node.oauth_logout_url(@geo_logout_state)
else
Gitlab::CurrentSettings.after_sign_out_path.presence || new_user_session_path
end
=======
Gitlab::CurrentSettings.after_sign_out_path.presence || new_user_session_path
>>>>>>> upstream/master
end
def can?(object, action, subject = :global)
......
module ProjectsHelper
<<<<<<< HEAD
prepend ::EE::ProjectsHelper
=======
>>>>>>> upstream/master
def link_to_project(project)
link_to [project.namespace.becomes(Namespace), project], title: h(project.name) do
title = content_tag(:span, project.name, class: 'project-name')
......
......@@ -3,11 +3,8 @@
# A note of this type is never resolvable.
class Note < ActiveRecord::Base
extend ActiveModel::Naming
<<<<<<< HEAD
prepend EE::Note
=======
>>>>>>> upstream/master
include Participable
include Mentionable
include Elastic::NotesSearch
......
class ProtectedBranch < ActiveRecord::Base
include Gitlab::ShellAdapter
include ProtectedRef
<<<<<<< HEAD
prepend EE::ProtectedRef
=======
>>>>>>> upstream/master
protected_ref_access_levels :merge, :push
......
......@@ -2,11 +2,8 @@ module Ci
# This class responsible for assigning
# proper pending build to runner on runner API request
class RegisterJobService
<<<<<<< HEAD
prepend EE::Ci::RegisterJobService
=======
>>>>>>> upstream/master
attr_reader :runner
Result = Struct.new(:build, :valid?)
......
module Users
class BuildService < BaseService
<<<<<<< HEAD
prepend ::EE::Users::BuildService
=======
>>>>>>> upstream/master
def initialize(current_user, params = {})
@current_user = current_user
@params = params.dup
......
module API
module Helpers
module Runner
<<<<<<< HEAD
prepend EE::API::Helpers::Runner
=======
>>>>>>> upstream/master
JOB_TOKEN_HEADER = 'HTTP_JOB_TOKEN'.freeze
JOB_TOKEN_PARAM = :token
UPDATE_RUNNER_EVERY = 10 * 60
......
......@@ -14,11 +14,8 @@ module Gitlab
DEFAULT_SCOPES = [:api].freeze
class << self
<<<<<<< HEAD
prepend EE::Gitlab::Auth
=======
>>>>>>> upstream/master
def find_for_git_client(login, password, project:, ip:)
raise "Must provide an IP for rate limiting" if ip.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