mirror of
https://github.com/discourse/discourse.git
synced 2025-09-08 12:06:51 +08:00
FIX: use allowlist and blocklist terminology (#10209)
This is a PR of the renaming whitelist to allowlist and blacklist to the blocklist.
This commit is contained in:
parent
5077cf52fd
commit
e0d9232259
130 changed files with 676 additions and 570 deletions
|
@ -137,7 +137,7 @@ module FlagQuery
|
|||
|
||||
guardian = Guardian.new(current_user)
|
||||
users = User.includes(:user_stat).where(id: user_ids.to_a).to_a
|
||||
User.preload_custom_fields(users, User.whitelisted_user_custom_fields(guardian))
|
||||
User.preload_custom_fields(users, User.allowed_user_custom_fields(guardian))
|
||||
|
||||
[
|
||||
posts,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue