Skip to content

Commit

Permalink
Remove obsolete code
Browse files Browse the repository at this point in the history
  • Loading branch information
leepeuker committed Jun 28, 2023
1 parent 9e44345 commit 2814e0a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
1 change: 0 additions & 1 deletion bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
\Movary\Api\Tmdb\TmdbClient::class => DI\factory([Factory::class, 'createTmdbApiClient']),
\Movary\Api\Plex\PlexLocalServerClient::class => DI\factory([Factory::class, 'createPlexLocalServerClient']),
\Movary\Api\Plex\PlexTvClient::class => DI\factory([Factory::class, 'createPlexTvClient']),
\Movary\Api\Plex\PlexApi::class => DI\factory([Factory::class, 'createPlexApi']),
\Movary\Service\UrlGenerator::class => DI\factory([Factory::class, 'createUrlGenerator']),
\Movary\Service\Export\ExportService::class => DI\factory([Factory::class, 'createExportService']),
\Movary\HttpController\CreateUserController::class => DI\factory([Factory::class, 'createCreateUserController']),
Expand Down
12 changes: 0 additions & 12 deletions src/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -250,18 +250,6 @@ public static function createLogger(ContainerInterface $container, Config $confi
return $logger;
}

public static function createPlexApi(ContainerInterface $container) : PlexApi
{
return new Plex\PlexApi(
$container->get(Authentication::class),
$container->get(ServerSettings::class),
$container->get(LoggerInterface::class),
$container->get(PlexTvClient::class),
$container->get(PlexLocalServerClient::class),
$container->get(UserApi::class)
);
}

public static function createPlexLocalServerClient(ContainerInterface $container, Config $config) : Plex\PlexLocalServerClient
{
return new Plex\PlexLocalServerClient(
Expand Down

0 comments on commit 2814e0a

Please sign in to comment.