Remove outdated comment

This commit is contained in:
Miroslav Prasil 2018-05-11 11:32:50 +01:00
parent 34f2aa68f4
commit e5c9d19e25

View File

@ -320,7 +320,6 @@ fn post_collections_admin(uuid: String, data: Json<CollectionsAdminData>, header
let posted_collections: HashSet<String> = data.collectionIds.iter().cloned().collect();
let current_collections: HashSet<String> = cipher.get_collections(&conn).iter().cloned().collect();
//TODO: update cipher collection mapping
for collection in posted_collections.symmetric_difference(&current_collections) {
match Collection::find_by_uuid(&collection, &conn) {
None => (), // Does not exist, what now?