do not bump usn/mod when automatically unburying

in the upcoming daily unburying, this could lead to a state
where the remote end unburies just at the start of sync
and clobbers more recent changes made on the local end
This commit is contained in:
Damien Elmes 2013-10-19 12:22:17 +09:00
parent 0ac8789ad5
commit 0a750005b9

View File

@ -146,8 +146,7 @@ order by due""" % self._deckLimit(),
self.col.log(
self.col.db.list("select id from cards where queue = -2"))
self.col.db.execute(
"update cards set mod=?,usn=?,queue=type where queue = -2",
intTime(), self.col.usn())
"update cards set queue=type where queue = -2")
def unburyCardsForDeck(self):
sids = ids2str(self.col.decks.active())