mirror of
https://github.com/discourse/discourse.git
synced 2025-01-30 04:56:06 +08:00
DEV: add discourse prefix to deprecation ids to differentiate from ember deprecations (#27910)
This commit is contained in:
parent
a3d319ac2f
commit
1d277ba96e
|
@ -106,7 +106,7 @@ export default class TopicList extends RestModel {
|
||||||
deprecated(
|
deprecated(
|
||||||
`TopicList.find is deprecated. Use \`findFiltered("topicList")\` on the \`store\` service instead.`,
|
`TopicList.find is deprecated. Use \`findFiltered("topicList")\` on the \`store\` service instead.`,
|
||||||
{
|
{
|
||||||
id: "topic-list-find",
|
id: "discourse.topic-list-find",
|
||||||
since: "3.1.0.beta5",
|
since: "3.1.0.beta5",
|
||||||
dropFrom: "3.2.0.beta1",
|
dropFrom: "3.2.0.beta1",
|
||||||
}
|
}
|
||||||
|
|
|
@ -447,7 +447,7 @@ export function controllerFor(controller, model) {
|
||||||
deprecated(
|
deprecated(
|
||||||
'controllerFor is deprecated. Use the standard `getOwner(this).lookup("controller:NAME")` instead',
|
'controllerFor is deprecated. Use the standard `getOwner(this).lookup("controller:NAME")` instead',
|
||||||
{
|
{
|
||||||
id: "controller-for",
|
id: "discourse.controller-for",
|
||||||
since: "3.0.0.beta14",
|
since: "3.0.0.beta14",
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user