Remove CurrentUser.country.

This was Cloudflare-specific and it was only used for selecting the
currency during user upgrades.
This commit is contained in:
evazion
2022-10-18 18:14:01 -05:00
parent 873c67db58
commit 6a0e553a84
3 changed files with 4 additions and 12 deletions

View File

@@ -82,7 +82,6 @@ class DanbooruLogger
name: user&.name,
level: user&.level_string,
#ip: request.remote_ip,
#country: CurrentUser.country,
#safe_mode: CurrentUser.safe_mode?,
#bot: UserAgent.new(request.headers["HTTP_USER_AGENT"]).is_bot?,
}