Open aarontitus opened 11 years ago
From rostovp...@gmail.com on January 11, 2013 17:44:45 Please don't check this in. num_sites is a hack to generate case numbers, this will result in duplicate case numbers. Also, any modifications to an Event need to use a transactional write.
From andy.n.g...@gmail.com on January 12, 2013 01:06:25 Ok to both
Original author: andy.n.g...@gmail.com (January 11, 2013 00:05:45)
when deleting a site, delete_handler now calls event_db.ReduceNumberOfSitesFromEvent(event_id).
This lowers the num_sites property by 1, giving us a more accurate representation of the sites we are handling.
Original issue: http://code.google.com/p/sandy-disaster-recovery/issues/detail?id=128