mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 13:51:18 +08:00
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:
@ -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() {
|
||||
|
Reference in New Issue
Block a user