Remove reporting of changesets
This commit is contained in:
parent
80a241f798
commit
3006ce9713
7 changed files with 4 additions and 22 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue