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:
parent
960acfca72
commit
677a17dcef
2 changed files with 0 additions and 8 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue