mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
remove some unused calls
This commit is contained in:
parent
9890c77514
commit
a2606dd70a
1 changed files with 0 additions and 7 deletions
|
@ -1312,13 +1312,6 @@ where type < 0 and id in %s""" %
|
|||
return self.s.scalar("""
|
||||
select 1 from cards where combinedDue < :now limit 1""", now=self.dueCutoff)
|
||||
|
||||
def leechCardCount(self):
|
||||
return len(self.findCards("is:suspended tag:leech"))
|
||||
|
||||
def seenCardCount(self):
|
||||
return self.s.scalar(
|
||||
"select count(id) from cards where type != 2")
|
||||
|
||||
def newCardsDoneToday(self):
|
||||
return (self._dailyStats.newEase0 +
|
||||
self._dailyStats.newEase1 +
|
||||
|
|
Loading…
Reference in a new issue