DEV: remove targetUsernames deprecation

Stable already has this rename, no need to carry the deprecation anymore.
This commit is contained in:
Sam Saffron 2020-04-03 14:35:30 +11:00
parent 83f5f9176b
commit 20d8b49add
No known key found for this signature in database
GPG Key ID: B9606168D2FFD9F5
1 changed files with 0 additions and 10 deletions

View File

@ -77,8 +77,6 @@ const CLOSED = "closed",
composerTime: "composerTime",
typingTime: "typingTime",
postId: "post.id",
// TODO remove together with 'targetUsername' deprecations
usernames: "targetUsernames",
recipients: "targetRecipients"
},
_add_draft_fields = {},
@ -342,14 +340,6 @@ const Composer = RestModel.extend({
return options;
},
@discourseComputed("targetRecipients")
targetUsernames(targetRecipients) {
deprecated(
"`targetUsernames` is deprecated, use `targetRecipients` instead."
);
return targetRecipients;
},
@discourseComputed("targetRecipients")
targetRecipientsArray(targetRecipients) {
const recipients = targetRecipients ? targetRecipients.split(",") : [];