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:
Blake Erickson 2020-07-27 16:10:00 -06:00
parent 89f6ff1574
commit 070a1d6e1e

View File

@ -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(