mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 23:38:29 +08:00
REFACTOR: Rename site settings to make them less confusing
This commit is contained in:
@ -67,7 +67,7 @@ module UserGuardian
|
||||
end
|
||||
|
||||
def can_check_emails?(user)
|
||||
is_admin? || (is_staff? && SiteSetting.show_email_on_profile)
|
||||
is_admin? || (is_staff? && SiteSetting.moderators_view_emails)
|
||||
end
|
||||
|
||||
def restrict_user_fields?(user)
|
||||
|
Reference in New Issue
Block a user