DEV: Remove `setupTopicController` event

DEV: Remove setupTopicController event

diff --git a/app/assets/javascripts/discourse/routes/topic.js b/app/assets/javascripts/discourse/routes/topic.js
index b9d6aaf..6f7fd41 100644
--- a/app/assets/javascripts/discourse/routes/topic.js
+++ b/app/assets/javascripts/discourse/routes/topic.js
@@ -4,8 +4,6 @@ import { cancel, later, schedule } from "@ember/runloop";
 import DiscourseRoute from "discourse/routes/discourse";
 import DiscourseURL from "discourse/lib/url";
 import { ID_CONSTRAINT } from "discourse/models/topic";
-import Evented from "@ember/object/evented";
-import EmberObject from "@ember/object";
 
 const SCROLL_DELAY = 500;
 
@@ -313,8 +311,6 @@ const TopicRoute = DiscourseRoute.extend({
       firstPostExpanded: false
     });
 
-    TopicRoute.trigger("setupTopicController", this);
-
     this.searchService.set("searchContext", model.get("searchContext"));
 
     // close the multi select when switching topics
@@ -333,9 +329,4 @@ const TopicRoute = DiscourseRoute.extend({
   }
 });
 
-// TODO: Remove this - it's barely used.
-const events = EmberObject.extend(Evented).create();
-TopicRoute.on = events.on;
-TopicRoute.trigger = events.trigger;
-
 export default TopicRoute;

GitHub sha: 63811707