DEV: Remove redundant variable.
This commit is contained in:
parent
5ef9d4d537
commit
5732e4288e
|
@ -951,10 +951,9 @@ class TopicQuery
|
||||||
end
|
end
|
||||||
|
|
||||||
def new_messages(params)
|
def new_messages(params)
|
||||||
query = TopicQuery
|
TopicQuery
|
||||||
.new_filter(messages_for_groups_or_user(params[:my_group_ids]), Time.at(SiteSetting.min_new_topics_time).to_datetime)
|
.new_filter(messages_for_groups_or_user(params[:my_group_ids]), Time.at(SiteSetting.min_new_topics_time).to_datetime)
|
||||||
.limit(params[:count])
|
.limit(params[:count])
|
||||||
query
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def unread_messages(params)
|
def unread_messages(params)
|
||||||
|
|
Loading…
Reference in New Issue