remove unused api call

correct spec
This commit is contained in:
Sam
2015-02-25 14:39:50 +11:00
parent 3658c21fc5
commit 7b6e85cb6c
2 changed files with 7 additions and 15 deletions

View File

@@ -127,10 +127,6 @@ class TopicQuery
create_list(:private_messages, {}, list)
end
def list_category(category)
create_list(:category, unordered: true, category: category.id)
end
def list_category_topic_ids(category)
query = default_results(category: category.id)
pinned_ids = query.where('pinned_at IS NOT NULL').order('pinned_at DESC').pluck(:id)