gitlab-org--gitlab-foss/app/services/projects/group_links/destroy_service.rb
2018-07-17 15:19:40 -07:00

13 lines
231 B
Ruby

# frozen_string_literal: true
module Projects
module GroupLinks
class DestroyService < BaseService
def execute(group_link)
return false unless group_link
group_link.destroy
end
end
end
end