Remove `getURL` and `getURLWithCDN` deprecations, they have been removed

This commit is contained in:
Robin Ward 2020-08-06 14:01:09 -04:00
parent 1ca81fbb95
commit 792bd3faff
1 changed files with 0 additions and 18 deletions

View File

@ -3,8 +3,6 @@ import Application from "@ember/application";
import { computed } from "@ember/object";
import { buildResolver } from "discourse-common/resolver";
import discourseComputed from "discourse-common/utils/decorators";
import { default as getURL, getURLWithCDN } from "discourse-common/lib/get-url";
import deprecated from "discourse-common/lib/deprecated";
const _pluginCallbacks = [];
@ -21,22 +19,6 @@ const Discourse = Application.extend({
Mousetrap.reset();
},
getURL(url) {
deprecated(
"Import `getURL` from `discourse-common/lib/get-url` instead of `Discourse.getURL`",
{ since: "2.5", dropFrom: "2.6" }
);
return getURL(url);
},
getURLWithCDN(url) {
deprecated(
"Import `getURLWithCDN` from `discourse-common/lib/get-url` instead of `Discourse.getURLWithCDN`",
{ since: "2.5", dropFrom: "2.6" }
);
return getURLWithCDN(url);
},
Resolver: buildResolver("discourse"),
authenticationComplete(options) {