mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 23:06:57 +08:00
FIX: remove storage_stats from the list of reports, too specific (#6817)
This commit is contained in:
parent
695894d458
commit
1d62d3df6f
|
@ -6,7 +6,7 @@ class Admin::ReportsController < Admin::AdminController
|
|||
ApplicationRequest.req_types.keys
|
||||
.select { |r| r =~ /^page_view_/ && r !~ /mobile/ }
|
||||
.map { |r| r + "_reqs" } +
|
||||
Report.singleton_methods.grep(/^report_(?!about)/)
|
||||
Report.singleton_methods.grep(/^report_(?!about|storage_stats)/)
|
||||
|
||||
reports = reports_methods.map do |name|
|
||||
type = name.to_s.gsub('report_', '')
|
||||
|
|
Loading…
Reference in New Issue
Block a user