From eda487826f6b90de04d5d802976b3447d5b1e43d Mon Sep 17 00:00:00 2001 From: Brian Gonzalez Date: Fri, 28 Oct 2016 12:49:17 -0700 Subject: [PATCH] Removed deprecated code --- lib/index.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/lib/index.js b/lib/index.js index f88c6b4..484c3c0 100644 --- a/lib/index.js +++ b/lib/index.js @@ -35,18 +35,6 @@ class Test { let bucket; - // Support Legacy Test Structure, deprecate soon - let legacyBucket = storage.local.getItem(`test-${name}`); - if (legacyBucket) { - console.warn('Migrating tests'); - tests[name] = { - bucket: legacyBucket, - buckets: Object.keys(data) - }; - storage.local.setItem(storageKey, JSON.stringify(tests)); - storage.local.removeItem(`test-${name}`); - } - // Retrieve Bucket from storage if possible if (options.persist && tests[name]) { bucket = tests[name].bucket;