Merge branch 'edge' of https://github.com/Akuket/wekan into edge

This commit is contained in:
Lauri Ojansivu 2018-10-12 23:03:03 +03:00
commit 25ab20bcb4

View file

@ -71,6 +71,12 @@ if (Meteor.isServer) {
Activities.remove({
customFieldId: doc._id,
});
Cards.update(
{'boardId': doc.boardId, 'customFields._id': doc._id},
{$pull: {'customFields': {'_id': doc._id}}},
{multi: true}
);
});
}