mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-07 03:57:09 +03:00
Remove unused config values
This commit is contained in:
@@ -428,6 +428,14 @@ function migrateOldFormats(config: SBConfig) {
|
|||||||
|
|
||||||
chrome.storage.sync.remove("sponsorTimes");
|
chrome.storage.sync.remove("sponsorTimes");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Remove some old unused options
|
||||||
|
if (config["sponsorVideoID"] !== undefined) {
|
||||||
|
chrome.storage.sync.remove("sponsorVideoID");
|
||||||
|
}
|
||||||
|
if (config["previousVideoID"] !== undefined) {
|
||||||
|
chrome.storage.sync.remove("previousVideoID");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async function setupConfig() {
|
async function setupConfig() {
|
||||||
|
|||||||
Reference in New Issue
Block a user