From a2606dd70a88a2601b77d9428c9854287956c736 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 26 Dec 2010 07:35:15 +0900 Subject: [PATCH] remove some unused calls --- anki/deck.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/anki/deck.py b/anki/deck.py index 4b541347a..e17d8ab19 100644 --- a/anki/deck.py +++ b/anki/deck.py @@ -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 +