Remove unused method

This commit is contained in:
cketti 2022-08-09 17:36:20 +02:00
parent 997d993413
commit 29a530a6fb

View file

@ -15,7 +15,7 @@ internal class FlagMessageOperations(private val lockableDatabase: LockableDatab
if (flag in SPECIAL_FLAGS) {
setSpecialFlags(messageIds, flag, set)
} else {
rebuildFlagsColumnValue(messageIds, flag, set)
throw UnsupportedOperationException("not implemented")
}
}
@ -54,10 +54,6 @@ internal class FlagMessageOperations(private val lockableDatabase: LockableDatab
}
}
private fun rebuildFlagsColumnValue(messageIds: Collection<Long>, flag: Flag, set: Boolean) {
throw UnsupportedOperationException("not implemented")
}
private fun rebuildFlagsColumnValue(folderId: Long, messageServerId: String, flag: Flag, set: Boolean) {
lockableDatabase.execute(true) { database ->
val oldFlags = database.readFlagsColumn(folderId, messageServerId)