FIX: removes legacy code
This commit is contained in:
parent
549c3d339a
commit
c6926f647b
|
@ -290,8 +290,6 @@ SQL
|
||||||
end
|
end
|
||||||
|
|
||||||
if Report.respond_to?(:add_report)
|
if Report.respond_to?(:add_report)
|
||||||
AdminDashboardData::GLOBAL_REPORTS << "accepted_solutions"
|
|
||||||
|
|
||||||
Report.add_report("accepted_solutions") do |report|
|
Report.add_report("accepted_solutions") do |report|
|
||||||
report.data = []
|
report.data = []
|
||||||
accepted_solutions = TopicCustomField.where(name: "accepted_answer_post_id")
|
accepted_solutions = TopicCustomField.where(name: "accepted_answer_post_id")
|
||||||
|
|
Loading…
Reference in New Issue