mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
always use fetch_stats to get AdminDashboardData data
This commit is contained in:
parent
db1820f39c
commit
991a36f4f2
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ module Jobs
|
|||
every 30.minutes
|
||||
|
||||
def execute(args)
|
||||
stats = AdminDashboardData.new.as_json
|
||||
stats = AdminDashboardData.fetch_stats
|
||||
set_cache(AdminDashboardData, stats)
|
||||
stats
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue