mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Make rubocop happy.
This commit is contained in:
@@ -148,7 +148,6 @@ class SearchLog < ActiveRecord::Base
|
||||
.limit(limit)
|
||||
end
|
||||
|
||||
|
||||
def self.clean_up
|
||||
search_id = SearchLog.order(:id).offset(SiteSetting.search_query_log_max_size).limit(1).pluck(:id)
|
||||
if search_id.present?
|
||||
|
||||
Reference in New Issue
Block a user