8584f3 Fix typo, variable name and restructure when we commit to the DB

Authored and Committed by Pierre-Yves Chibon 7 years ago
    Fix typo, variable name and restructure when we commit to the DB
    
    These are suggestions made by @bowlofeggs during the review
    
    Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
    
        
file modified
+3 -4
file modified
+6 -0