From 757ceab7b38eff6c6906583930f7ec4396bc65d4 Mon Sep 17 00:00:00 2001
From: "patrick.pdb" <patrick.dalla@gmail.com>
Date: Wed, 8 Nov 2023 10:04:39 -0300
Subject: [PATCH] '#1859 removes old media type modification.

---
 iped-app/resources/scripts/tasks/RefineCategoryTask.js | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/iped-app/resources/scripts/tasks/RefineCategoryTask.js b/iped-app/resources/scripts/tasks/RefineCategoryTask.js
index b3f543ae8e..d17e722828 100644
--- a/iped-app/resources/scripts/tasks/RefineCategoryTask.js
+++ b/iped-app/resources/scripts/tasks/RefineCategoryTask.js
@@ -45,14 +45,6 @@ function process(e){
 		}
 	}
 	
-	if(mime.equals("application/x-chrome-cache-index")) {
-		if(e.getPath().toLowerCase().contains("gpucache")){
-			e.setMediaTypeStr("application/x-discord-gpucache-index");
-		} else {
-			e.setMediaTypeStr("application/x-discord-index");
-		}
-	}
-	
 	if(/.*(-delta|-flat|-(f|s)[0-9]{3})\.vmdk/i.test(e.getName())){
 	    e.setMediaTypeStr("application/x-vmdk-data");
 	}