revert changes on Post#slow_query? #2441

This commit is contained in:
r888888888
2015-07-16 10:04:29 -07:00
parent 842c10af79
commit e25bc38ca9

View File

@@ -1012,7 +1012,7 @@ class Post < ActiveRecord::Base
end
def slow_query?(tags)
!CurrentUser.is_gold? && (CurrentUser.safe_mode? || tags.blank? || tags =~ /(?:#{Tag::METATAGS}):/ || tags =~ / /)
tags.blank?
end
def fast_count(tags = "", options = {})