The isSilenced and isSuspended aliases were useless

We already had `silenced` and `suspended` on the model with the same
effect!
This commit is contained in:
Robin Ward
2018-05-25 10:29:26 -04:00
parent 0ca2a1ce92
commit 3c8369def6
7 changed files with 21 additions and 25 deletions

View File

@ -240,8 +240,6 @@ const AdminUser = Discourse.User.extend({
return this.get('trust_level') < 4;
}.property('trust_level'),
isSuspended: Em.computed.equal('suspended', true),
isSilenced: Ember.computed.equal('silenced', true),
canSuspend: Em.computed.not('staff'),
suspendDuration: function() {