aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeckoEidechse <gecko.eidechse+git@pm.me>2023-07-20 02:32:26 +0200
committerGeckoEidechse <gecko.eidechse+git@pm.me>2023-07-20 02:32:26 +0200
commitc5bffe6b02a5bd61cff4d973d49f5250d1fd738b (patch)
treea4f646029a5946b9cb3f1226f4f1d1750482aae9
parentef088ee2807e6e87037d1bf5d6195dba65c99c55 (diff)
downloadFlightCore-c5bffe6b02a5bd61cff4d973d49f5250d1fd738b.tar.gz
FlightCore-c5bffe6b02a5bd61cff4d973d49f5250d1fd738b.zip
fix: Remove accidentally duplicated code
-rw-r--r--src-tauri/src/mod_management/mod.rs17
1 files changed, 0 insertions, 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(())
}