REFACTOR: Rename site settings to make them less confusing

This commit is contained in:
Gerhard Schlager
2019-03-13 22:30:25 +01:00
parent 6f6dea87f3
commit c34a6ba674
9 changed files with 29 additions and 16 deletions

View File

@ -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)