mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 02:40:53 -06:00
DEV: Remove duplicate allowedPmUsernames property
This property is already declared in the same file, so this removes the one that isn't needed.
This commit is contained in:
parent
89f6ff1574
commit
070a1d6e1e
@ -7,7 +7,6 @@ import discourseComputed from "discourse-common/utils/decorators";
|
||||
|
||||
export default Controller.extend({
|
||||
ignoredUsernames: alias("model.ignored_usernames"),
|
||||
allowedPmUsernames: alias("model.allowed_pm_usernames"),
|
||||
userIsMemberOrAbove: gte("model.trust_level", 2),
|
||||
ignoredEnabled: or("userIsMemberOrAbove", "model.staff"),
|
||||
allowPmUsersEnabled: and(
|
||||
|
Loading…
Reference in New Issue
Block a user