enable ignoring stats on admin requests
This commit is contained in:
parent
b5f5aff626
commit
d05e1fdfb3
1 changed files with 1 additions and 1 deletions
|
@ -343,7 +343,7 @@ App::shutdown()
|
|||
if (
|
||||
App::getEnv('_APP_USAGE_STATS', 'enabled') == 'enabled'
|
||||
&& $project->getId()
|
||||
// && $mode !== APP_MODE_ADMIN // TODO: add check to make sure user is admin
|
||||
&& $mode !== APP_MODE_ADMIN // TODO: add check to make sure user is admin
|
||||
&& !empty($route->getLabel('sdk.namespace', null))
|
||||
) { // Don't calculate console usage on admin mode
|
||||
|
||||
|
|
Loading…
Reference in a new issue