Do not send stats if developer_mode is enabled.

This commit is contained in:
Martin Edenhofer 2015-06-01 01:12:02 +02:00
parent aaf47a28d3
commit 49d24b939f

View file

@ -102,7 +102,7 @@ class _trackSingleton
)
log: ( facility, level, args ) ->
return if !App.Config.get('developer_mode')
return if App.Config.get('developer_mode')
return if !App.Config.get('ui_send_client_stats')
info =
time: Math.round( new Date().getTime() / 1000 )
@ -113,7 +113,7 @@ class _trackSingleton
@data.push info
send: (async = true) =>
return if !App.Config.get('developer_mode')
return if App.Config.get('developer_mode')
return if !App.Config.get('ui_send_client_stats')
return if _.isEmpty @data
newData = _.clone( @data )