Reverting "add 'make due now' option"

This commit is contained in:
Damien Elmes 2009-02-05 16:41:57 +09:00
parent 45829f9acc
commit b91b458c6d

View file

@ -496,14 +496,6 @@ combinedDue = created, modified = :now, due = created
where id in %s""" % ids2str(ids), now=time.time(), new=0)
self.flushMod()
def makeCardsDue(self, ids):
self.s.statement("""
update cards set
isDue = 1,
modified = :t
where id in %s""" % ids2str(ids), t=time.time())
self.flushMod()
def rescheduleCards(self, ids, min, max):
"Reset cards and schedule with new interval in days (min, max)."
self.resetCards(ids)