modding the schema should also set collection modified

required for the force full sync case
This commit is contained in:
Damien Elmes 2013-05-28 12:42:12 +09:00
parent e38aa0c615
commit 84a03d291d

View file

@ -160,6 +160,7 @@ crt=?, mod=?, scm=?, dty=?, usn=?, ls=?, conf=?""",
if check and not runFilter("modSchema", True): if check and not runFilter("modSchema", True):
raise AnkiError("abortSchemaMod") raise AnkiError("abortSchemaMod")
self.scm = intTime(1000) self.scm = intTime(1000)
self.setMod()
def schemaChanged(self): def schemaChanged(self):
"True if schema changed since last sync." "True if schema changed since last sync."