From a880d5684b35235436f571e5fd8e9f857bf30434 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sun, 24 Feb 2019 21:34:55 +0900 Subject: Remove unused methods --- src/background/repositories/PersistentSettingRepository.js | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/background/repositories/PersistentSettingRepository.js') diff --git a/src/background/repositories/PersistentSettingRepository.js b/src/background/repositories/PersistentSettingRepository.js index 639bcd1..4cab107 100644 --- a/src/background/repositories/PersistentSettingRepository.js +++ b/src/background/repositories/PersistentSettingRepository.js @@ -1,10 +1,6 @@ import Setting from '../domains/Setting'; export default class SettingRepository { - save(settings) { - return browser.storage.local.set({ settings: settings.serialize() }); - } - async load() { let { settings } = await browser.storage.local.get('settings'); if (!settings) { -- cgit v1.2.3