mirror of
https://github.com/discourse/discourse-solved.git
synced 2025-07-04 12:52:17 +00:00
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…
x
Reference in New Issue
Block a user