From cf5c458020a0926780d286566bbb072dce0f4438 Mon Sep 17 00:00:00 2001 From: evazion Date: Fri, 24 Aug 2018 11:21:54 -0500 Subject: [PATCH] danbooru_default_config.rb: document `enable_post_search_counts` (#3834). --- config/danbooru_default_config.rb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/config/danbooru_default_config.rb b/config/danbooru_default_config.rb index 49205cd4f..fe1cc548b 100644 --- a/config/danbooru_default_config.rb +++ b/config/danbooru_default_config.rb @@ -570,10 +570,6 @@ module Danbooru def twitter_api_secret end - def enable_post_search_counts - false - end - # The default headers to be sent with outgoing http requests. Some external # services will fail if you don't set a valid User-Agent. def http_headers @@ -659,6 +655,12 @@ module Danbooru true end + # Enables recording of popular searches, missed searches, and post view + # counts. Requires Reportbooru to be configured and running - see below. + def enable_post_search_counts + false + end + # reportbooru options - see https://github.com/r888888888/reportbooru def reportbooru_server end