don't randomize on upgrade, will cause sync problems

This commit is contained in:
Damien Elmes 2009-04-23 01:36:25 +09:00
parent 35837ef213
commit f4997f328c

View file

@ -3003,8 +3003,6 @@ nextFactor, reps, thinkingTime, yesCount, noCount from reviewHistory""")
deck.version = 33
deck.s.commit()
if deck.version < 34:
if deck.newCardOrder == NEW_CARDS_RANDOM:
deck.randomizeNewCards()
deck.updateDynamicIndices()
deck.s.execute("drop view if exists acqCardsRandom")
deck.version = 34