FIX: removes legacy code

This commit is contained in:
Joffrey JAFFEUX 2019-04-01 15:31:20 +02:00
parent 549c3d339a
commit c6926f647b
1 changed files with 0 additions and 2 deletions

View File

@ -290,8 +290,6 @@ SQL
end
if Report.respond_to?(:add_report)
AdminDashboardData::GLOBAL_REPORTS << "accepted_solutions"
Report.add_report("accepted_solutions") do |report|
report.data = []
accepted_solutions = TopicCustomField.where(name: "accepted_answer_post_id")