mirror of
https://github.com/ankidroid/Anki-Android.git
synced 2024-09-20 03:52:15 +02:00
docs: removeNotes
This commit is contained in:
parent
6c39ce2858
commit
dac0c2d6f1
@ -569,7 +569,9 @@ class Collection(
|
||||
}
|
||||
|
||||
fun removeNotes(nids: Iterable<NoteId> = listOf(), cids: Iterable<CardId> = listOf()): OpChangesWithCount {
|
||||
return backend.removeNotes(noteIds = nids, cardIds = cids)
|
||||
return backend.removeNotes(noteIds = nids, cardIds = cids).also {
|
||||
Timber.d("removeNotes: %d changes", it.count)
|
||||
}
|
||||
}
|
||||
|
||||
fun removeCardsAndOrphanedNotes(cardIds: Iterable<Long>) {
|
||||
|
Loading…
Reference in New Issue
Block a user