Yolo
This commit is contained in:
parent
3222e0646d
commit
811bca18d9
@ -54,8 +54,6 @@ class MetadataHelper {
|
|||||||
exGalleryBook().read<ExGalleryMetadata>(it)
|
exGalleryBook().read<ExGalleryMetadata>(it)
|
||||||
}
|
}
|
||||||
|
|
||||||
//TODO Problem, our new metadata structures are incompatible.
|
|
||||||
//TODO We will probably just delete the old metadata structures
|
|
||||||
fun exGalleryBook() = Paper.book("gallery-ex")!!
|
fun exGalleryBook() = Paper.book("gallery-ex")!!
|
||||||
|
|
||||||
fun pervEdenGalleryBook() = Paper.book("gallery-perveden")!!
|
fun pervEdenGalleryBook() = Paper.book("gallery-perveden")!!
|
||||||
|
@ -45,7 +45,6 @@ class ExGalleryMetadata : SearchableGalleryMetadata() {
|
|||||||
override fun galleryUniqueIdentifier() = exh?.let { exh ->
|
override fun galleryUniqueIdentifier() = exh?.let { exh ->
|
||||||
url?.let {
|
url?.let {
|
||||||
//Fuck, this should be EXH and EH but it's too late to change it now...
|
//Fuck, this should be EXH and EH but it's too late to change it now...
|
||||||
//TODO Change this during migration
|
|
||||||
"${if(exh) "EXH" else "EX"}-${galleryId()}-${galleryToken()}"
|
"${if(exh) "EXH" else "EX"}-${galleryId()}-${galleryToken()}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user