Remove spurious storage.fetch from migration

This should really only be called once, from background.js.

Calling it twice can cause doubled listeners for the registration_done
event, which in turn leads to duplicate post-registration callbacks,
dual sync requests, and an eventual datastore inconsistency.

Fixes #670

// FREEBIE
This commit is contained in:
lilia 2016-02-12 16:58:17 -08:00
parent df079a7027
commit 48626ceafb
1 changed files with 0 additions and 1 deletions

View File

@ -107,7 +107,6 @@
next();
}
});
storage.fetch();
next();
}
},