Used the term suspended instead of banned.

This commit is contained in:
Neil Lalonde
2013-11-07 13:53:32 -05:00
parent 706f96af0a
commit 0c6f794eb0
57 changed files with 318 additions and 312 deletions

View File

@ -115,10 +115,10 @@ class Guardian
end
alias :can_activate? :can_approve?
def can_ban?(user)
def can_suspend?(user)
user && is_staff? && user.regular?
end
alias :can_deactivate? :can_ban?
alias :can_deactivate? :can_suspend?
def can_clear_flags?(post)
is_staff? && post