diff --git a/www/teams/inner.js b/www/teams/inner.js index c50dde5a1..05f823e2d 100644 --- a/www/teams/inner.js +++ b/www/teams/inner.js @@ -420,9 +420,6 @@ define([ content.push(h('h3', Messages.team_listTitle + ' ' + slots)); - var metadataMgr = common.getMetadataMgr(); - var privateData = metadataMgr.getPrivateData(); - var teams = privateData.teams || {}; APP.teams = {}; keys.forEach(function (id) { @@ -1458,8 +1455,6 @@ define([ } }); - var teams = privateData.teams || {}; - var onDisconnect = function (teamId) { if (APP.team && teamId && APP.team !== teamId) { return; } setEditable(false);