Use handler do_delete() method when deleting a batch

even though it seems we have 2 calls to `session.delete(batch)` now, but things
are still working..fingers crossed
This commit is contained in:
Lance Edgar 2020-07-29 21:58:31 -05:00
parent e0ce7e8505
commit cf8072e402

View file

@ -746,7 +746,7 @@ class BatchMasterView(MasterView):
"""
Delete all data (files etc.) for the batch.
"""
self.handler.delete(batch)
self.handler.do_delete(batch)
super(BatchMasterView, self).delete_instance(batch)
def get_fallback_templates(self, template, mobile=False):