DEV: Remove ScrollTop mixin (#12673)

DEV: Remove ScrollTop mixin (#12673)

It was deprecated (incorrectly! see the import :sweat_smile:) 5 years ago. No references found anymore in core and all-the-plugins.

diff --git a/app/assets/javascripts/discourse/app/mixins/scroll-top.js b/app/assets/javascripts/discourse/app/mixins/scroll-top.js
index 93c72ae..8ca49c2 100644
--- a/app/assets/javascripts/discourse/app/mixins/scroll-top.js
+++ b/app/assets/javascripts/discourse/app/mixins/scroll-top.js
@@ -1,6 +1,4 @@
 import DiscourseURL from "discourse/lib/url";
-import Mixin from "@ember/object/mixin";
-import { deprecated } from "discourse/mixins/scroll-top";
 import { isTesting } from "discourse-common/config/environment";
 import { scheduleOnce } from "@ember/runloop";
 
@@ -20,14 +18,4 @@ function scrollTop() {
   scheduleOnce("afterRender", context, context._scrollTop);
 }
 
-export default Mixin.create({
-  didInsertElement() {
-    deprecated(
-      "The `ScrollTop` mixin is deprecated. Replace it with a `{{d-section}}` component"
-    );
-    this._super(...arguments);
-    scrollTop();
-  },
-});
-
 export { scrollTop };

GitHub sha: 7d1cef71

This commit appears in #12673 which was approved by eviltrout. It was merged by CvX.