DEV: Remove an old mobile-nav deprecation (#23493)

This commit is contained in:
Jarek Radosz 2023-09-11 11:39:47 +02:00 committed by GitHub
parent ce6ac81b29
commit 217985fdc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 8 deletions

View File

@ -3,7 +3,6 @@ import Component from "@ember/component";
import { action } from "@ember/object";
import { next } from "@ember/runloop";
import { inject as service } from "@ember/service";
import deprecated from "discourse-common/lib/deprecated";
export default Component.extend({
@on("init")
@ -15,13 +14,6 @@ export default Component.extend({
this.set("classNames", classes);
}
}
if (this.currentPath) {
deprecated("{{mobile-nav}} no longer requires the currentPath property", {
since: "2.7.0.beta4",
dropFrom: "2.9.0.beta1",
id: "discourse.mobile-nav.currentPath",
});
}
},
tagName: "ul",