Files
danbooru/app/models
evazion 1d2bac7b95 Remove CurrentUser.ip_addr.
Remove the `CurrentUser.ip_addr` global variable and replace it with
`request.remote_ip`. Before we had to track the current user's IP in a
global variable so that when we edited a post for example, we could pass
down the user's IP to the model and save it in the post_versions table.
Now that we now longer save IPs in version tables, we don't need a global
variable to get access to the current user's IP outside of controllers.
2022-09-18 05:02:10 -05:00
..
2021-12-14 21:33:27 -06:00
2022-04-27 03:47:59 +02:00
2022-09-16 05:39:25 -05:00
2021-12-14 21:33:27 -06:00
2022-09-16 05:39:25 -05:00
2022-09-16 05:39:25 -05:00
2022-08-24 22:04:30 -05:00
2022-09-16 05:39:25 -05:00
2021-12-14 21:33:27 -06:00
2022-09-16 05:39:25 -05:00
2021-12-14 21:33:27 -06:00
2022-09-16 05:39:25 -05:00
2022-09-16 05:39:25 -05:00
2022-09-16 05:39:25 -05:00
2021-12-14 21:33:27 -06:00