DEV: Remove attachment css handling from resolveAllShortUrls

DEV: Remove attachment css handling from resolveAllShortUrls

This was moved inside the markdown processor in 65481858, so there is no longer any need to run this logic after cooking

diff --git a/app/assets/javascripts/pretty-text/addon/upload-short-url.js b/app/assets/javascripts/pretty-text/addon/upload-short-url.js
index 87d9486..f37a5d4 100644
--- a/app/assets/javascripts/pretty-text/addon/upload-short-url.js
+++ b/app/assets/javascripts/pretty-text/addon/upload-short-url.js
@@ -1,5 +1,4 @@
 import { debounce } from "@ember/runloop";
-import { ATTACHMENT_CSS_CLASS } from "./engines/discourse-markdown-it";
 let _cache = {};
 
 export function lookupCachedUploadUrl(shortUrl) {
@@ -85,15 +84,6 @@ function _loadCachedShortUrls($uploads, siteSettings) {
       case "A":
         retrieveCachedUrl($upload, siteSettings, "orig-href", url => {
           $upload.attr("href", url);
-
-          // Replace "|attachment" with class='attachment'
-          // TODO: This is a part of the cooking process now and should be
-          // removed in the future.
-          const content = $upload.text().split("|");
-          if (content[1] === ATTACHMENT_CSS_CLASS) {
-            $upload.addClass(ATTACHMENT_CSS_CLASS);
-            $upload.text(content[0]);
-          }
         });
 
         break;

GitHub sha: 0f09fd22