1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

remove anonymous app id since not needed for analytics

This commit is contained in:
Kyle Spearrin
2016-09-27 23:51:26 -04:00
parent 7ea1ef8b0b
commit 5996f038a2

View File

@@ -11,14 +11,6 @@ function initAppIdService() {
makeAndGetAppId('appId'); makeAndGetAppId('appId');
}; };
AppIdService.prototype.getAnonymousAppId = function (callback) {
if (!callback || typeof callback !== 'function') {
throw 'callback function required';
}
makeAndGetAppId('anonymousAppId');
};
function makeAndGetAppId(key) { function makeAndGetAppId(key) {
chrome.storage.local.get(key, function (obj) { chrome.storage.local.get(key, function (obj) {
if (obj && obj[key]) { if (obj && obj[key]) {