Skip to content

Commit

Permalink
TASK: Remove obsolete method from migration 8.3 to 9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsdesign committed Oct 15, 2024
1 parent c9b73e4 commit cba5be5
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions Neos.Neos/Classes/Service/Controller/AbstractServiceController.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
namespace Neos\Neos\Service\Controller;

use GuzzleHttp\Psr7\Response;
use Neos\ContentRepository\Core\SharedModel\User\UserId;
use Neos\Flow\Annotations as Flow;
use Neos\Flow\Exception as FlowException;
use Neos\Flow\Log\ThrowableStorageInterface;
Expand Down Expand Up @@ -157,13 +156,4 @@ protected function convertException(\Throwable $exception): array
}
return $exceptionData;
}

protected function getCurrentUserIdentifier(): ?UserId
{
$user = $this->domainUserService->getCurrentUser();

return $user
? UserId::fromString($this->persistenceManager->getIdentifierByObject($user))
: null;
}
}

0 comments on commit cba5be5

Please sign in to comment.