Remove some subscription / reactivity / caching bugs and the unnecessary PatientLocations collection

This commit is contained in:
Erik Ziegler committed 2016-02-10 16:38:49 +01:00
1 parent 7d42456f57
commit 9cde04bcfe
43 files changed
+321 -234

No files matched your search

@@ -31,10 +31,10 @@ function removeTimepointAssociations() {
return;
}
// Update the Studies Collection to remove the link to this Timepoint
Studies.update(study._id, {
unset: {
timepointId: ''
// Remove this entry from the Studies Collection
Meteor.call('removeAssociatedStudy', study._id, function(error) {
if (error) {
log.warn(error);
}
});