HomeWrite.as

Move admin template IsSuspended logic into method

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

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