gitlab-org--gitlab-foss/app/services/notes/delete_service.rb

9 lines
138 B
Ruby
Raw Normal View History

2016-04-05 19:21:02 -04:00
module Notes
class DeleteService < BaseService
def execute(note)
note.destroy
note.reset_events_cache
end
end
end