Skip to content

Commit 116f646

Browse files
committed
apply changes from master-branch
1 parent 5ef4450 commit 116f646

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Helper/Data.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public function getDSN()
9292

9393
public function getPhpProfileSampleRate(): float
9494
{
95-
return (float) ($this->config['profiles_sample_rate'] ?? 0);
95+
return (float) ($this->collectModuleConfig()['profiles_sample_rate'] ?? 0);
9696
}
9797

9898
/**
@@ -340,12 +340,12 @@ public function isPhpTrackingEnabled(): bool
340340

341341
public function isPerformanceTrackingEnabled(): bool
342342
{
343-
return $this->isTracingEnabled() && $this->config['performance_tracking_enabled'] ?? false;
343+
return $this->isTracingEnabled() && $this->collectModuleConfig()['performance_tracking_enabled'] ?? false;
344344
}
345345

346346
public function getPerformanceTrackingExcludedAreas(): array
347347
{
348-
return $this->config['performance_tracking_excluded_areas'] ?? ['adminhtml', 'crontab'];
348+
return $this->collectModuleConfig()['performance_tracking_excluded_areas'] ?? ['adminhtml', 'crontab'];
349349
}
350350

351351
/**

0 commit comments

Comments
 (0)