2018-07-17 16:50:37 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-11-01 14:08:18 +00:00
|
|
|
module Projects
|
|
|
|
module GroupLinks
|
|
|
|
class DestroyService < BaseService
|
|
|
|
def execute(group_link)
|
|
|
|
return false unless group_link
|
2017-11-14 09:02:39 +00:00
|
|
|
|
2017-11-01 14:08:18 +00:00
|
|
|
group_link.destroy
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|