mirror of
https://github.com/gotson/komga.git
synced 2026-05-08 12:35:30 +02:00
refactor: remove unused function
This commit is contained in:
parent
cf6d26196f
commit
d10e14bc19
1 changed files with 0 additions and 4 deletions
|
|
@ -59,10 +59,6 @@ data class KomgaUser(
|
|||
else -> null
|
||||
}
|
||||
|
||||
fun canAccessBook(book: Book): Boolean {
|
||||
return sharedAllLibraries || sharedLibrariesIds.any { it == book.libraryId }
|
||||
}
|
||||
|
||||
fun canAccessLibrary(libraryId: String): Boolean =
|
||||
sharedAllLibraries || sharedLibrariesIds.any { it == libraryId }
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue