Homewrite.as

Move admin template IsSuspended logic into method

Authored by matt on Thu, Nov 7, 5:07 AM.

Description

Move admin template IsSuspended logic into method

This adds a User.IsSuspended() method and uses it when displaying the
user's status on admin pages, instead of doing a magic number check.
This should also help in the future, in case this logic ever changes.

Ref T661

Details

Committed
mattThu, Nov 7, 5:07 AM
Parents
rWF5429ca4ab092: add check for suspended user on single posts
Branches
Unknown
Tags
Unknown
Tasks
T661: Support silencing accounts