Commit 4b37039f authored by Weblate's avatar Weblate

Merge remote-tracking branch 'origin/master'

parents 9f5ffab2 4a4bd1ac
......@@ -948,7 +948,8 @@ class Unit(models.Model):
self.cleanup_checks(old_source_checks, old_target_checks)
# Update failing checks flag
self.update_has_failing_check()
for unit in Unit.objects.same(self):
unit.update_has_failing_check()
def update_has_failing_check(self):
'''
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment