Do not send stats if developer_mode is enabled.
This commit is contained in:
parent
aaf47a28d3
commit
49d24b939f
1 changed files with 2 additions and 2 deletions
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue