Remove unused 'timeout' field from telemetry

This commit is contained in:
Adam Gotlib
2016-10-11 10:39:35 +02:00
committed by Dan Flettre
parent 32f96c03dd
commit e8ab172d1b

View File

@@ -66,7 +66,6 @@ function reset () {
minVersion: config.APP_VERSION,
total: 0,
success: 0,
timeout: 0,
error: 0,
abandoned: 0
}
@@ -210,10 +209,10 @@ function getElemString (elem) {
return ret
}
// The user pressed play. It either worked, timed out, or showed the
// The user pressed play. It either worked or showed the
// 'Play in VLC' codec error
function logPlayAttempt (result) {
if (!['success', 'timeout', 'error', 'abandoned'].includes(result)) {
if (!['success', 'error', 'abandoned'].includes(result)) {
return console.error('Unknown play attempt result', result)
}