FEATURE: remove star concept from Discourse

This commit is contained in:
Sam
2015-01-07 13:43:27 +11:00
parent fa8493118b
commit efc717c14a
35 changed files with 50 additions and 448 deletions
-5
View File
@@ -69,11 +69,6 @@ class TopicQuery
create_list(:latest, {}, latest_results)
end
# The starred topics
def list_starred
create_list(:starred) {|topics| topics.where('tu.starred') }
end
def list_read
create_list(:read, unordered: true) do |topics|
topics.order('COALESCE(tu.last_visited_at, topics.bumped_at) DESC')