mirror of
https://github.com/ankitects/anki.git
synced 2025-11-12 23:57:13 -05:00
remove unused where clause from rebuildTypes()
This commit is contained in:
parent
6d2e32e2df
commit
26470c997e
1 changed files with 1 additions and 1 deletions
|
|
@ -350,7 +350,7 @@ Card info: %d %d %d""" % (self.failedSoonCount, self.revCount, self.newCountToda
|
||||||
"priority desc, combinedDue",
|
"priority desc, combinedDue",
|
||||||
"priority desc, combinedDue desc")[self.newCardOrder]
|
"priority desc, combinedDue desc")[self.newCardOrder]
|
||||||
|
|
||||||
def rebuildTypes(self, where=""):
|
def rebuildTypes(self):
|
||||||
"Rebuild the type cache. Only necessary on upgrade."
|
"Rebuild the type cache. Only necessary on upgrade."
|
||||||
lim = "type >= 0" # don't touch suspended cards
|
lim = "type >= 0" # don't touch suspended cards
|
||||||
if where:
|
if where:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue