mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 07:49:48 +08:00
renamed unused variables properly
This commit is contained in:
@ -64,7 +64,7 @@ class AdminDashboardData
|
||||
AdminDashboardData.new.problems
|
||||
end
|
||||
|
||||
def as_json(options = nil)
|
||||
def as_json(_options = nil)
|
||||
@json ||= {
|
||||
reports: REPORTS.map { |type| Report.find(type).as_json },
|
||||
admins: User.admins.count,
|
||||
|
Reference in New Issue
Block a user