remove unused cramRev

This commit is contained in:
Damien Elmes 2012-05-23 13:16:15 +09:00
parent c236bc8327
commit 56652c5066
2 changed files with 4 additions and 9 deletions

View file

@ -38,7 +38,6 @@ defaultDynamicDeck = {
'delays': [1, 10], 'delays': [1, 10],
'separate': True, 'separate': True,
'fmult': 0, 'fmult': 0,
'cramRev': False,
'search': "", 'search': "",
'limit': 100, 'limit': 100,
'order': 0, 'order': 0,

View file

@ -904,10 +904,6 @@ order by c.mod""" % ((self.dayCutoff-86400)*1000)
for c, id in enumerate(ids): for c, id in enumerate(ids):
# start at -100000 so that reviews are all due # start at -100000 so that reviews are all due
data.append((did, -100000+c, t, u, id)) data.append((did, -100000+c, t, u, id))
if deck['cramRev']:
# everything in the new queue
queue = "0"
else:
# due reviews stay in the review queue. careful: can't use # due reviews stay in the review queue. careful: can't use
# "odid or did", as sqlite converts to boolean # "odid or did", as sqlite converts to boolean
queue = """ queue = """