danbooru_default_config.rb: document enable_post_search_counts (#3834).
This commit is contained in:
@@ -570,10 +570,6 @@ module Danbooru
|
|||||||
def twitter_api_secret
|
def twitter_api_secret
|
||||||
end
|
end
|
||||||
|
|
||||||
def enable_post_search_counts
|
|
||||||
false
|
|
||||||
end
|
|
||||||
|
|
||||||
# The default headers to be sent with outgoing http requests. Some external
|
# The default headers to be sent with outgoing http requests. Some external
|
||||||
# services will fail if you don't set a valid User-Agent.
|
# services will fail if you don't set a valid User-Agent.
|
||||||
def http_headers
|
def http_headers
|
||||||
@@ -659,6 +655,12 @@ module Danbooru
|
|||||||
true
|
true
|
||||||
end
|
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
|
# reportbooru options - see https://github.com/r888888888/reportbooru
|
||||||
def reportbooru_server
|
def reportbooru_server
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user