users: move sockpuppet detection from model to controller.
This commit is contained in:
@@ -443,11 +443,6 @@ module Danbooru
|
||||
false
|
||||
end
|
||||
|
||||
# disable this for tests
|
||||
def enable_sock_puppet_validation?
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user