Revert "Import getURL to fix deprecation warnings (#52)"

This reverts commit d643cf742e.

A previous change was already made in this repo to import getURL,
this causes a double import which breaks the build.
This commit is contained in:
Martin Brennan 2020-10-07 13:13:38 +10:00
parent d643cf742e
commit a4665c27e8
No known key found for this signature in database
GPG Key ID: A08063EEF3EA26A4
2 changed files with 0 additions and 2 deletions

View File

@ -3,7 +3,6 @@ import { ajax } from "discourse/lib/ajax";
import getURL from "discourse-common/lib/get-url";
import Badge from "discourse/models/badge";
import { default as computed } from "discourse-common/utils/decorators";
import getURL from "discourse-common/lib/get-url";
function randomIdShort() {
return "xxxxxxxx".replace(/[xy]/g, () => {

View File

@ -5,7 +5,6 @@ import {
} from "discourse-common/utils/decorators";
import getURL from "discourse-common/lib/get-url";
import RestModel from "discourse/models/rest";
import getURL from "discourse-common/lib/get-url";
const Query = RestModel.extend({
dirty: false,