mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 23:12:21 -04:00
modelCache is no longer used
This commit is contained in:
parent
a9b4285959
commit
a30836445e
1 changed files with 0 additions and 2 deletions
|
@ -63,7 +63,6 @@ class _Deck(object):
|
|||
d = datetime.datetime(d.year, d.month, d.day)
|
||||
d += datetime.timedelta(hours=4)
|
||||
self.crt = int(time.mktime(d.timetuple()))
|
||||
self.modelCache = {}
|
||||
self.undoEnabled = False
|
||||
self.sessionStartReps = 0
|
||||
self.sessionStartTime = 0
|
||||
|
@ -207,7 +206,6 @@ qconf=?, conf=?""",
|
|||
|
||||
def reset(self):
|
||||
"Rebuild the queue and reload data after DB modified."
|
||||
self.modelCache = {}
|
||||
self.sched.reset()
|
||||
|
||||
# Deletion logging
|
||||
|
|
Loading…
Reference in a new issue