diff options
Diffstat (limited to 'src/db.rs')
-rw-r--r-- | src/db.rs | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -165,11 +165,6 @@ pub fn mods_get_versions(config: &Cfg, mods: Vec<String>) -> MLE<Vec<DBModlistVe | |||
165 | 165 | ||
166 | for ver in id_iter { | 166 | for ver in id_iter { |
167 | let version = ver?; | 167 | let version = ver?; |
168 | // println!( | ||
169 | // "\t({}) Get versions from the database", | ||
170 | // String::from(&version[2]) | ||
171 | // ); | ||
172 | //println!("Found versions {} for mod {}", version[1], version[0]); | ||
173 | versionmaps.push(DBModlistVersions { | 168 | versionmaps.push(DBModlistVersions { |
174 | mod_id: String::from(&version[0]), | 169 | mod_id: String::from(&version[0]), |
175 | versions: String::from(&version[1]), | 170 | versions: String::from(&version[1]), |
@@ -473,7 +468,6 @@ pub fn userlist_get_all_downloads( | |||
473 | 468 | ||
474 | for link in link_iter { | 469 | for link in link_iter { |
475 | let l = link?; | 470 | let l = link?; |
476 | // println!("Found link {}", String::from(&l)); | ||
477 | links.push(l) | 471 | links.push(l) |
478 | } | 472 | } |
479 | 473 | ||
@@ -496,8 +490,6 @@ pub fn lists_insert( | |||
496 | mod_loader: &Modloader, | 490 | mod_loader: &Modloader, |
497 | download_folder: &str, | 491 | download_folder: &str, |
498 | ) -> MLE<()> { | 492 | ) -> MLE<()> { |
499 | // println!("Creating list {}", id); | ||
500 | |||
501 | let data = format!("{}/data.db", config.data); | 493 | let data = format!("{}/data.db", config.data); |
502 | let connection = Connection::open(data)?; | 494 | let connection = Connection::open(data)?; |
503 | 495 | ||