Skip to content

Commit

Permalink
IBX-8224: Dropped BackwardCompatibleCommand (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
ViniTou authored Jun 27, 2024
1 parent a7d4f0e commit 8d5b5cd
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions src/bundle/Command/AuditUserDatabaseCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand All @@ -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
*/
Expand Down Expand Up @@ -150,12 +144,4 @@ private function isUniqueEmailRequired(array $userFieldDefinitions): bool

return false;
}

/**
* @return string[]
*/
public function getDeprecatedAliases(): array
{
return ['ezplatform:user:audit_database'];
}
}

0 comments on commit 8d5b5cd

Please sign in to comment.