Last modified: 2014-07-24 19:40:24 UTC
Deal with scheduled recurrent reports when cohorts are deleted. When a cohort is deleted all recurrent reports scheduled to that cohort should stop.
For now, these were causing lots of problems so I set recurrent=0 on them: update report set recurrent=0 where recurrent=1 and (parameters like '%"id": 834%' or parameters like '%"id": 882%' or parameters like '%"id": 885%' or parameters like '%"id": 919%'); This should be fairly harmless and it's also pretty trivial to undo if we run into problems.