force full sync if any problems found in db check

This commit is contained in:
Damien Elmes 2012-11-08 16:57:22 +09:00
parent 41ca2b0c1c
commit e5401f5b8e

View file

@ -691,6 +691,9 @@ and queue = 0""", intTime(), self.usn())
txt = _("Database rebuilt and optimized.")
ok = not problems
problems.append(txt)
# if any problems were found, force a full sync
if problems:
self.modSchema()
self.save()
return ("\n".join(problems), ok)