debian-mirror-gitlab/app/services/projects/group_links/destroy_service.rb
2018-11-18 11:00:15 +05:30

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