« get me outta code hell

remove longer-unused dead contributionData code - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2022-02-16 21:58:31 -0400
committer(quasar) nebula <qznebula@protonmail.com>2022-02-16 21:58:31 -0400
commit6c27767ae2222186872803b17e6edcf8b23507db (patch)
tree96c53b3345db755f6e83341b6a22dab53454c423
parente05923f043dc9419c90535171647e3e641fb6677 (diff)
remove longer-unused dead contributionData code
-rwxr-xr-xsrc/upd8.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/upd8.js b/src/upd8.js
index a797170f..0917c69a 100755
--- a/src/upd8.js
+++ b/src/upd8.js
@@ -2942,12 +2942,6 @@ async function main() {
         }
     }
 
-    WD.contributionData = Array.from(new Set([
-        ...WD.trackData.flatMap(track => [...track.artists || [], ...track.contributors || [], ...track.coverArtists || []]),
-        ...WD.albumData.flatMap(album => [...album.artists || [], ...album.coverArtists || [], ...album.wallpaperArtists || [], ...album.bannerArtists || []]),
-        ...(WD.flashData?.flatMap(flash => [...flash.contributors || []]) || [])
-    ]));
-
     // Now that we have all the data, resolve references all 8efore actually
     // gener8ting any of the pages, 8ecause page gener8tion is going to involve
     // accessing these references a lot, and there's no reason to resolve them