mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
PERF: stop featuring users on categories
(this feature has long been removed, no need to run expensive queries every 15 minutes)
This commit is contained in:
parent
6777bd2629
commit
4cef1c1750
1 changed files with 0 additions and 1 deletions
|
@ -11,7 +11,6 @@ class CategoryFeaturedTopic < ActiveRecord::Base
|
|||
end
|
||||
Category.select(:id, :topic_id).find_each do |c|
|
||||
CategoryFeaturedTopic.feature_topics_for(c, current[c.id] || [])
|
||||
CategoryFeaturedUser.feature_users_in(c.id)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue