1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

Remove two more sql_array from report classes

This commit is contained in:
Matt Jankowski 2024-06-19 07:02:25 -04:00
parent 960acfca72
commit 677a17dcef
2 changed files with 0 additions and 8 deletions

View file

@ -17,10 +17,6 @@ class Admin::Metrics::Measure::NewUsersMeasure < Admin::Metrics::Measure::BaseMe
User.where(created_at: previous_time_period).count
end
def sql_array
[sql_query_string, { start_at: @start_at, end_at: @end_at }]
end
def data_source
User
.select(:id)

View file

@ -17,10 +17,6 @@ class Admin::Metrics::Measure::OpenedReportsMeasure < Admin::Metrics::Measure::B
Report.where(created_at: previous_time_period).count
end
def sql_array
[sql_query_string, { start_at: @start_at, end_at: @end_at }]
end
def data_source
Report
.select(:id)