diff options
Diffstat (limited to 'settings')
-rw-r--r-- | settings/Application.php | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/settings/Application.php b/settings/Application.php index 52661c5bae2..0ca2d28dfe6 100644 --- a/settings/Application.php +++ b/settings/Application.php @@ -30,8 +30,6 @@ namespace OC\Settings; -use OC\App\AppStore\Fetcher\AppFetcher; -use OC\App\AppStore\Fetcher\CategoryFetcher; use OC\AppFramework\Utility\TimeFactory; use OC\Authentication\Token\IProvider; use OC\Server; @@ -110,26 +108,6 @@ class Application extends App { Util::getDefaultEmailAddress('no-reply') ); }); - $container->registerService(AppFetcher::class, function (IContainer $c) { - /** @var Server $server */ - $server = $c->query('ServerContainer'); - return new AppFetcher( - $server->getAppDataDir('appstore'), - $server->getHTTPClientService(), - $server->query(TimeFactory::class), - $server->getConfig() - ); - }); - $container->registerService(CategoryFetcher::class, function (IContainer $c) { - /** @var Server $server */ - $server = $c->query('ServerContainer'); - return new CategoryFetcher( - $server->getAppDataDir('appstore'), - $server->getHTTPClientService(), - $server->query(TimeFactory::class), - $server->getConfig() - ); - }); } public function register() { |