A platform for community discussion. Free, open, simple.
DEV: Drop deprecated `discourse.add-flag-property` code (#38864)
David Taylor075ae6fa2dd9
diff --git a/frontend/discourse/app/deprecation-workflow.js b/frontend/discourse/app/deprecation-workflow.jsindex 60e35f9b765..d5025c9b07a 100644--- a/frontend/discourse/app/deprecation-workflow.js+++ b/frontend/discourse/app/deprecation-workflow.js@@ -331,7 +331,6 @@ const workflows = [// CRITICAL DEPRECATIONS that should trigger admin warnings,// To keep warnings meaningful and prevent overflowing users with them,// we should only add values here after fixing core and official plugins- { handler: "notify-admin", matchId: "discourse.add-flag-property" },{ handler: "notify-admin", matchId: "discourse.breadcrumbs.childCategories" },{ handler: "notify-admin", matchId: "discourse.breadcrumbs.firstCategory" },{diff --git a/frontend/discourse/app/lib/plugin-api.gjs b/frontend/discourse/app/lib/plugin-api.gjsindex cc418b46df6..5a98b480f28 100644--- a/frontend/discourse/app/lib/plugin-api.gjs+++ b/frontend/discourse/app/lib/plugin-api.gjs@@ -1068,13 +1068,6 @@ class _PluginApi {warnWidgetsDecommissioned();}- addFlagProperty() {- deprecated(- "addFlagProperty has been removed. Use the reviewable API instead.",- { id: "discourse.add-flag-property" }- );- }-/*** Adds a pluralization to the store*