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:
parent
0ac8789ad5
commit
0a750005b9
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user