Commit 3c72a0a5 authored by Robert Speicher's avatar Robert Speicher

Resolve conflicts

parent 8fa498c0
...@@ -42,32 +42,20 @@ class GroupMember < Member ...@@ -42,32 +42,20 @@ class GroupMember < Member
private private
def send_invite def send_invite
<<<<<<< HEAD
run_after_commit_or_now { notification_service.invite_group_member(self, @raw_invite_token) } unless @skip_notification run_after_commit_or_now { notification_service.invite_group_member(self, @raw_invite_token) } unless @skip_notification
=======
run_after_commit_or_now { notification_service.invite_group_member(self, @raw_invite_token) }
>>>>>>> upstream/master
super super
end end
def post_create_hook def post_create_hook
<<<<<<< HEAD
run_after_commit_or_now { notification_service.new_group_member(self) } unless @skip_notification run_after_commit_or_now { notification_service.new_group_member(self) } unless @skip_notification
=======
run_after_commit_or_now { notification_service.new_group_member(self) }
>>>>>>> upstream/master
super super
end end
def post_update_hook def post_update_hook
if access_level_changed? if access_level_changed?
<<<<<<< HEAD
run_after_commit { notification_service.update_group_member(self) } unless @skip_notification run_after_commit { notification_service.update_group_member(self) } unless @skip_notification
=======
run_after_commit { notification_service.update_group_member(self) }
>>>>>>> upstream/master
end end
super super
......
...@@ -101,11 +101,7 @@ class ProjectMember < Member ...@@ -101,11 +101,7 @@ class ProjectMember < Member
end end
def send_invite def send_invite
<<<<<<< HEAD
run_after_commit_or_now { notification_service.invite_project_member(self, @raw_invite_token) } unless @skip_notification run_after_commit_or_now { notification_service.invite_project_member(self, @raw_invite_token) } unless @skip_notification
=======
run_after_commit_or_now { notification_service.invite_project_member(self, @raw_invite_token) }
>>>>>>> upstream/master
super super
end end
...@@ -113,11 +109,7 @@ class ProjectMember < Member ...@@ -113,11 +109,7 @@ class ProjectMember < Member
def post_create_hook def post_create_hook
unless owner? unless owner?
event_service.join_project(self.project, self.user) event_service.join_project(self.project, self.user)
<<<<<<< HEAD
run_after_commit_or_now { notification_service.new_project_member(self) } unless @skip_notification run_after_commit_or_now { notification_service.new_project_member(self) } unless @skip_notification
=======
run_after_commit_or_now { notification_service.new_project_member(self) }
>>>>>>> upstream/master
end end
super super
...@@ -125,11 +117,7 @@ class ProjectMember < Member ...@@ -125,11 +117,7 @@ class ProjectMember < Member
def post_update_hook def post_update_hook
if access_level_changed? if access_level_changed?
<<<<<<< HEAD
run_after_commit { notification_service.update_project_member(self) } unless @skip_notification run_after_commit { notification_service.update_project_member(self) } unless @skip_notification
=======
run_after_commit { notification_service.update_project_member(self) }
>>>>>>> upstream/master
end end
super super
......
...@@ -14,11 +14,8 @@ ...@@ -14,11 +14,8 @@
# NotificationService.new.async.new_issue(issue, current_user) # NotificationService.new.async.new_issue(issue, current_user)
# #
class NotificationService class NotificationService
<<<<<<< HEAD
prepend EE::NotificationService prepend EE::NotificationService
=======
>>>>>>> upstream/master
class Async class Async
attr_reader :parent attr_reader :parent
delegate :respond_to_missing, to: :parent delegate :respond_to_missing, to: :parent
...@@ -526,7 +523,6 @@ class NotificationService ...@@ -526,7 +523,6 @@ class NotificationService
end end
end end
<<<<<<< HEAD
def add_mr_approvers_email(merge_request, approvers, current_user) def add_mr_approvers_email(merge_request, approvers, current_user)
approvers.each do |approver| approvers.each do |approver|
recipient = approver.user recipient = approver.user
...@@ -539,8 +535,6 @@ class NotificationService ...@@ -539,8 +535,6 @@ class NotificationService
Notify Notify
end end
=======
>>>>>>> upstream/master
private private
def recipients_for_pages_domain(domain) def recipients_for_pages_domain(domain)
......
...@@ -26,10 +26,7 @@ end ...@@ -26,10 +26,7 @@ end
module OmniAuth module OmniAuth
module Strategies module Strategies
autoload :Bitbucket, Rails.root.join('lib', 'omni_auth', 'strategies', 'bitbucket') autoload :Bitbucket, Rails.root.join('lib', 'omni_auth', 'strategies', 'bitbucket')
<<<<<<< HEAD
autoload :GroupSaml, Rails.root.join('ee', 'lib', 'omni_auth', 'strategies', 'group_saml') autoload :GroupSaml, Rails.root.join('ee', 'lib', 'omni_auth', 'strategies', 'group_saml')
=======
>>>>>>> upstream/master
autoload :Jwt, Rails.root.join('lib', 'omni_auth', 'strategies', 'jwt') autoload :Jwt, Rails.root.join('lib', 'omni_auth', 'strategies', 'jwt')
end end
end end
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