From 1bdfde7032fd572856c492c237e6d3ae0bde06a3 Mon Sep 17 00:00:00 2001 From: Aria Moradi Date: Thu, 13 May 2021 18:33:24 +0430 Subject: [PATCH] no longer TODO --- server/src/main/kotlin/ir/armor/tachidesk/impl/Chapter.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/server/src/main/kotlin/ir/armor/tachidesk/impl/Chapter.kt b/server/src/main/kotlin/ir/armor/tachidesk/impl/Chapter.kt index 90cfed71..a50ffd10 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/impl/Chapter.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/impl/Chapter.kt @@ -69,7 +69,6 @@ object Chapter { // clear any orphaned chapters that are in the db but not in `chapterList` val dbChapterCount = transaction { ChapterTable.select { ChapterTable.manga eq mangaId }.count() } if (dbChapterCount > chapterCount) { // we got some clean up due - // TODO: delete orphan chapters val dbChapterList = transaction { ChapterTable.select { ChapterTable.manga eq mangaId } } dbChapterList.forEach {