瀏覽代碼

remove obsolete code

Gildas 1 年之前
父節點
當前提交
12518a94a8
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      src/core/bg/config.js

+ 0 - 1
src/core/bg/config.js

@@ -413,7 +413,6 @@ async function onMessage(message) {
 		if (syncConfig && syncConfig.rules && (!localConfig || !localConfig.rules)) {
 		if (syncConfig && syncConfig.rules && (!localConfig || !localConfig.rules)) {
 			await browser.storage.local.set({ rules: syncConfig.rules, maxParallelWorkers: syncConfig.maxParallelWorkers, processInForeground: syncConfig.processInForeground });
 			await browser.storage.local.set({ rules: syncConfig.rules, maxParallelWorkers: syncConfig.maxParallelWorkers, processInForeground: syncConfig.processInForeground });
 			const profiles = {};
 			const profiles = {};
-			// syncConfig.profileNames.forEach(profileKeyName => profiles[PROFILE_NAME_PREFIX + profileKeyName] = syncConfig[profileKeyName]);
 			await browser.storage.local.set(profiles);
 			await browser.storage.local.set(profiles);
 		}
 		}
 		configStorage = browser.storage.local;
 		configStorage = browser.storage.local;