From c5bffe6b02a5bd61cff4d973d49f5250d1fd738b Mon Sep 17 00:00:00 2001 From: GeckoEidechse Date: Thu, 20 Jul 2023 02:32:26 +0200 Subject: fix: Remove accidentally duplicated code --- src-tauri/src/mod_management/mod.rs | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src-tauri/src/mod_management/mod.rs b/src-tauri/src/mod_management/mod.rs index 00a4987b..cef7ff71 100644 --- a/src-tauri/src/mod_management/mod.rs +++ b/src-tauri/src/mod_management/mod.rs @@ -615,23 +615,6 @@ pub async fn fc_download_mod_and_install( } }; - // Successful package install - match legacy::delete_legacy_package_install(thunderstore_mod_string, game_install) { - Ok(()) => (), - Err(err) => { - // Catch error but ignore - log::warn!("Failed deleting legacy versions due to: {}", err); - } - }; - - match delete_older_versions(thunderstore_mod_string, game_install) { - Ok(()) => (), - Err(err) => { - // Catch error but ignore - log::warn!("Failed deleting older versions due to: {}", err); - } - }; - Ok(()) } -- cgit v1.2.3