From 46790f2e929f391a6a4c9ebccecab7485f09d5bf Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 2 Nov 2010 22:34:10 +0900 Subject: [PATCH] remove (incorrect) code in sync, is covered on deck load anyway --- anki/sync.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/anki/sync.py b/anki/sync.py index 52b8a4c20..7b44e2f23 100644 --- a/anki/sync.py +++ b/anki/sync.py @@ -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."