Skip to content

Commit

Permalink
ACMS-1976: Do not send telemetry data while site installation.
Browse files Browse the repository at this point in the history
  • Loading branch information
rajeshreeputra authored and vishalkhode1 committed Dec 12, 2023
1 parent d66bb6a commit 062d792
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public static function getSubscribedEvents(): array {
* @throws \Exception
*/
public function onTerminateResponse(KernelEvent $event): void {
if ($this->shouldSendTelemetryData()) {
if ($this->shouldSendTelemetryData() && PHP_SAPI !== 'cli') {
$this->sendTelemetry("ACMS Telemetry data", $this->getAcquiaCmsTelemetryData());
}
}
Expand Down

0 comments on commit 062d792

Please sign in to comment.