Skip to content

Commit

Permalink
Removed not needed User class for RUM
Browse files Browse the repository at this point in the history
  • Loading branch information
foxycode committed Mar 3, 2021
1 parent d406f17 commit 25b4e98
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 44 deletions.
7 changes: 0 additions & 7 deletions src/DI/NewRelicExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
use Contributte\NewRelic\Formatters\DefaultWebTransactionNameFormatter;
use Contributte\NewRelic\RUM\FooterControl;
use Contributte\NewRelic\RUM\HeaderControl;
use Contributte\NewRelic\RUM\User;
use Contributte\NewRelic\Tracy\Logger;
use Nette\DI\CompilerExtension;
use Nette\DI\Definitions\ServiceDefinition;
Expand Down Expand Up @@ -218,12 +217,6 @@ private function setupRUM(): void

$rumEnabled = $this->enabled && $config->rum->enabled === true;

$builder->addDefinition($this->prefix('rum.user'))
->setFactory(User::class, [
'@' . $this->prefix('agent'),
$rumEnabled,
]);

$builder->addDefinition($this->prefix('rum.headerControl'))
->setFactory(HeaderControl::class, [
'@' . $this->prefix('agent'),
Expand Down
37 changes: 0 additions & 37 deletions src/RUM/User.php

This file was deleted.

0 comments on commit 25b4e98

Please sign in to comment.