mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 16:26:40 -04:00
Reverting "add 'make due now' option"
This commit is contained in:
parent
45829f9acc
commit
b91b458c6d
1 changed files with 0 additions and 8 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue