From 6c27767ae2222186872803b17e6edcf8b23507db Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Wed, 16 Feb 2022 21:58:31 -0400 Subject: remove longer-unused dead contributionData code --- src/upd8.js | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src') 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 -- cgit 1.3.0-6-gf8a5