mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
remove (incorrect) code in sync, is covered on deck load anyway
This commit is contained in:
parent
a68334220a
commit
46790f2e92
1 changed files with 0 additions and 3 deletions
|
@ -215,9 +215,6 @@ class SyncTools(object):
|
|||
def rebuildPriorities(self, cardIds, suspend=[]):
|
||||
self.deck.updateAllPriorities(partial=True, dirty=False)
|
||||
self.deck.updatePriorities(cardIds, suspend=suspend, dirty=False)
|
||||
# FIXME: adjust types if cards were suspended in the old way
|
||||
self.deck.s.statement(
|
||||
"update cards set type = type - 3 where priority = 0 and type >= 0")
|
||||
|
||||
def postSyncRefresh(self):
|
||||
"Flush changes to DB, and reload object associations."
|
||||
|
|
Loading…
Reference in a new issue