diff --git a/app/assets/javascripts/discourse/app/lib/mobile.js b/app/assets/javascripts/discourse/app/lib/mobile.js index 96ee5f7099d..511e269d83a 100644 --- a/app/assets/javascripts/discourse/app/lib/mobile.js +++ b/app/assets/javascripts/discourse/app/lib/mobile.js @@ -1,4 +1,3 @@ -import deprecated from "discourse-common/lib/deprecated"; import ENV from "discourse-common/config/environment"; let mobileForced = false; @@ -65,13 +64,4 @@ export function resetMobile() { mobileForced = false; } -Object.defineProperty(Discourse, "Mobile", { - get() { - deprecated( - "`Discourse.Mobile` is deprecated, use `this.site.mobileView` instead" - ); - return Mobile; - } -}); - export default Mobile;