Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
new \OC\App\AppStore\Fetcher\AppFetcher(
\OC::$server->getAppDataDir('appstore'),
\OC::$server->getHTTPClientService(),
- new \OC\AppFramework\Utility\TimeFactory(),
+ \OC::$server->query(\OC\AppFramework\Utility\TimeFactory::class),
$config
),
\OC::$server->getHTTPClientService(),
return new AppFetcher(
$server->getAppDataDir('appstore'),
$server->getHTTPClientService(),
- new TimeFactory(),
+ $server->query(TimeFactory::class),
$server->getConfig()
);
});
return new CategoryFetcher(
$server->getAppDataDir('appstore'),
$server->getHTTPClientService(),
- new TimeFactory()
+ $server->query(TimeFactory::class)
);
});
}