or on bury

This commit is contained in:
Damien Elmes 2012-03-12 12:17:57 +09:00
parent ea64e4da1b
commit 324861a946

View file

@ -997,8 +997,6 @@ your short-term review workload will become."""))
def buryNote(self, nid):
"Bury all cards for note until next session."
self.col.setDirty()
self.removeFailed(
self.col.db.list("select id from cards where nid = ?", nid))
self.col.db.execute("update cards set queue = -2 where nid = ?", nid)
# Resetting