mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 05:26:02 +08:00
Dashboard: split out private messages from topic and post counts; re-enable report_spec because I think I fixed it...
This commit is contained in:
@ -479,8 +479,8 @@ class User < ActiveRecord::Base
|
||||
Summarize.new(bio_cooked).summary
|
||||
end
|
||||
|
||||
def self.count_by_signup_date(since=30.days.ago)
|
||||
where('created_at > ?', since).group('date(created_at)').order('date(created_at)').count
|
||||
def self.count_by_signup_date(sinceDaysAgo=30)
|
||||
where('created_at > ?', sinceDaysAgo.days.ago).group('date(created_at)').order('date(created_at)').count
|
||||
end
|
||||
|
||||
def self.counts_by_trust_level
|
||||
|
Reference in New Issue
Block a user