Commit ebdafe97 authored by Yorick Peterse's avatar Yorick Peterse

Fixed conflicts in legacy_api_update_service.rb

parent 6a1a6d2d
......@@ -38,7 +38,6 @@ module ProtectedBranches
def delete_redundant_access_levels
unless @developers_can_merge.nil?
<<<<<<< HEAD
@protected_branch.merge_access_levels.destroy_all # rubocop: disable DestroyAll # rubocop: disable DestroyAll
end
......@@ -65,13 +64,6 @@ module ProtectedBranches
when false
@protected_branch.push_access_levels.developer.destroy_all # rubocop: disable DestroyAll
@protected_branch.push_access_levels.maintainer.destroy_all # rubocop: disable DestroyAll
=======
@protected_branch.merge_access_levels.destroy_all # rubocop: disable DestroyAll
end
unless @developers_can_push.nil?
@protected_branch.push_access_levels.destroy_all # rubocop: disable DestroyAll
>>>>>>> upstream/master
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