danbooru_default_config.rb: remove unused config params.
This commit is contained in:
@@ -437,7 +437,7 @@ module Danbooru
|
||||
|
||||
def stripe_secret_key
|
||||
end
|
||||
|
||||
|
||||
def stripe_publishable_key
|
||||
end
|
||||
|
||||
@@ -541,20 +541,9 @@ module Danbooru
|
||||
end
|
||||
|
||||
# iqdbs options - see https://github.com/r888888888/iqdbs
|
||||
def iqdbs_auth_key
|
||||
end
|
||||
|
||||
def iqdbs_server
|
||||
end
|
||||
|
||||
# google api options
|
||||
def google_api_project
|
||||
end
|
||||
|
||||
def google_api_json_key_path
|
||||
"/var/www/danbooru2/shared/config/google-key.json"
|
||||
end
|
||||
|
||||
# AWS config options
|
||||
def aws_region
|
||||
"us-east-1"
|
||||
@@ -578,25 +567,6 @@ module Danbooru
|
||||
# {:smtp_server_name => "smtp server", :user_name => "user name", :ses_smtp_user_name => "smtp user name", :ses_smtp_password => "smtp password"}
|
||||
end
|
||||
|
||||
def aws_s3_enabled?
|
||||
false
|
||||
end
|
||||
|
||||
# Used for backing up images to S3. Must be changed to your own S3 bucket.
|
||||
def aws_s3_bucket_name
|
||||
"danbooru"
|
||||
end
|
||||
|
||||
def aws_sqs_enabled?
|
||||
false
|
||||
end
|
||||
|
||||
def aws_sqs_reltagcalc_url
|
||||
end
|
||||
|
||||
def aws_sqs_post_versions_url
|
||||
end
|
||||
|
||||
def aws_sqs_region
|
||||
end
|
||||
|
||||
@@ -621,7 +591,7 @@ module Danbooru
|
||||
def enable_image_cropping
|
||||
true
|
||||
end
|
||||
|
||||
|
||||
# Akismet API key. Used for Dmail spam detection. http://akismet.com/signup/
|
||||
def rakismet_key
|
||||
end
|
||||
@@ -643,9 +613,6 @@ module Danbooru
|
||||
def recommender_server
|
||||
end
|
||||
|
||||
def recommender_key
|
||||
end
|
||||
|
||||
def redis_url
|
||||
"redis://localhost:6379"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user