summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/Server.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php
index 6898e93e3bb..723f9a69185 100644
--- a/lib/private/Server.php
+++ b/lib/private/Server.php
@@ -1093,16 +1093,6 @@ class Server extends ServerContainer implements IServerContainer {
return new CloudIdManager();
});
- /* To trick DI since we don't extend the DIContainer here */
- $this->registerService(CleanPreviewsBackgroundJob::class, function (Server $c) {
- return new CleanPreviewsBackgroundJob(
- $c->getRootFolder(),
- $c->getLogger(),
- $c->getJobList(),
- new TimeFactory()
- );
- });
-
$this->registerAlias(\OCP\AppFramework\Utility\IControllerMethodReflector::class, \OC\AppFramework\Utility\ControllerMethodReflector::class);
$this->registerAlias('ControllerMethodReflector', \OCP\AppFramework\Utility\IControllerMethodReflector::class);