temp disable search counts.
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
module PostsHelper
|
module PostsHelper
|
||||||
def post_search_counts_enabled?
|
def post_search_counts_enabled?
|
||||||
|
return false
|
||||||
Danbooru.config.enable_post_search_counts && Danbooru.config.reportbooru_server.present? && Danbooru.config.reportbooru_key.present?
|
Danbooru.config.enable_post_search_counts && Danbooru.config.reportbooru_server.present? && Danbooru.config.reportbooru_key.present?
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -51,7 +52,6 @@ module PostsHelper
|
|||||||
end
|
end
|
||||||
|
|
||||||
def post_view_count_js
|
def post_view_count_js
|
||||||
return nil
|
|
||||||
return nil unless post_search_counts_enabled?
|
return nil unless post_search_counts_enabled?
|
||||||
|
|
||||||
msg = "#{params[:id]},#{session.id}"
|
msg = "#{params[:id]},#{session.id}"
|
||||||
|
|||||||
Reference in New Issue
Block a user