Skip to content

Commit

Permalink
Fixes #37515 - Drop Host Vulnerabilities report
Browse files Browse the repository at this point in the history
  • Loading branch information
adamruzicka authored and ofedoren committed May 31, 2024
1 parent 68bd8b3 commit 89a3f5f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 37 deletions.
37 changes: 0 additions & 37 deletions app/views/unattended/report_templates/host_-_vulnerabilities.erb

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
class DropHostVulnerabilitiesReportTemplate < ActiveRecord::Migration[6.1]
def up
scope = ::Template.where(type: 'ReportTemplate', name: 'Host - Vulnerabilities')
::TemplateInput.where(template_id: scope).delete_all
scope.delete_all
end
end

0 comments on commit 89a3f5f

Please sign in to comment.