Skip to content

Commit

Permalink
Avoid premature controller context instantiation
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernhard Schmitt committed Oct 12, 2023
1 parent 487dcc2 commit 88a3032
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 37 deletions.
30 changes: 0 additions & 30 deletions Classes/Aspect/UriServiceInitializationAspect.php

This file was deleted.

2 changes: 0 additions & 2 deletions Classes/Fusion/UriServiceInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ public function getNodeUri(
?string $format = null
): UriInterface;

public function useControllerContext(ControllerContext $controllerContext): void;

public function getResourceUri(string $packageKey, string $resourcePath): UriInterface;

public function getPersistentResourceUri(PersistentResource $resource): ?UriInterface;
Expand Down
5 changes: 0 additions & 5 deletions Classes/Infrastructure/UriService.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@ public function __construct(
) {
}

public function useControllerContext(ControllerContext $controllerContext): void
{
$this->controllerContext = $controllerContext;
}

public function getNodeUri(Node $documentNode, bool $absolute = false, ?string $format = null): UriInterface
{
$contentRepository = $this->contentRepositoryRegistry->get(
Expand Down

0 comments on commit 88a3032

Please sign in to comment.