Remove reporting of changesets

This commit is contained in:
Andy Allan 2018-02-28 14:39:40 +08:00
parent 80a241f798
commit 3006ce9713
7 changed files with 4 additions and 22 deletions

View file

@ -93,7 +93,7 @@ class Issue < ActiveRecord::Base
end
def set_default_assigned_role
role = %w[Changeset Note].include?(reportable.class.name) ? "moderator" : "administrator"
role = %w[Note].include?(reportable.class.name) ? "moderator" : "administrator"
self.assigned_role = role if assigned_role.blank?
end
end

View file

@ -33,7 +33,6 @@ class Report < ActiveRecord::Base
when "DiaryEntry" then %w[spam offensive threat other]
when "DiaryComment" then %w[spam offensive threat other]
when "User" then %w[spam offensive threat vandal other]
when "Changeset" then %w[undiscussed_import mechanical_edit edit_error spam vandalism other]
when "Note" then %w[spam vandalism personal abusive other]
else %w[other]
end