gitlab-org--gitlab-foss/app/services/issuable/destroy_service.rb
2017-11-25 22:09:18 +02:00

9 lines
188 B
Ruby

module Issuable
class DestroyService < IssuableBaseService
def execute(issuable)
if issuable.destroy
issuable.update_project_counter_caches
end
end
end
end