This commit is contained in:
NerdNumber9 2017-03-09 20:47:06 -05:00
parent 3222e0646d
commit 811bca18d9
2 changed files with 0 additions and 3 deletions

View File

@ -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")!!

View File

@ -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()}"
} }
} }