From 8d5b5cdc4d00eae2f7494ca19e14149978863419 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dawid=20Parafi=C5=84ski?= Date: Thu, 27 Jun 2024 12:34:52 +0200 Subject: [PATCH] IBX-8224: Dropped BackwardCompatibleCommand (#83) --- src/bundle/Command/AuditUserDatabaseCommand.php | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/src/bundle/Command/AuditUserDatabaseCommand.php b/src/bundle/Command/AuditUserDatabaseCommand.php index cccd36c..edd3f90 100644 --- a/src/bundle/Command/AuditUserDatabaseCommand.php +++ b/src/bundle/Command/AuditUserDatabaseCommand.php @@ -10,7 +10,6 @@ use Doctrine\DBAL\Connection; use Doctrine\DBAL\FetchMode; -use Ibexa\Bundle\Core\Command\BackwardCompatibleCommand; use Ibexa\Contracts\Core\Repository\ContentTypeService; use Ibexa\Contracts\Core\Repository\UserService; use Ibexa\Core\FieldType\User\Type; @@ -19,7 +18,7 @@ use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; -final class AuditUserDatabaseCommand extends Command implements BackwardCompatibleCommand +final class AuditUserDatabaseCommand extends Command { /** @var \Ibexa\Contracts\Core\Repository\ContentTypeService */ private $contentTypeService; @@ -42,11 +41,6 @@ public function __construct( $this->connection = $connection; } - protected function configure(): void - { - $this->setAliases($this->getDeprecatedAliases()); - } - /** * @throws \Ibexa\Contracts\Core\Repository\Exceptions\InvalidArgumentException */ @@ -150,12 +144,4 @@ private function isUniqueEmailRequired(array $userFieldDefinitions): bool return false; } - - /** - * @return string[] - */ - public function getDeprecatedAliases(): array - { - return ['ezplatform:user:audit_database']; - } }