summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/lib/AppInfo/Application.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_trashbin/lib/AppInfo/Application.php')
-rw-r--r--apps/files_trashbin/lib/AppInfo/Application.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/apps/files_trashbin/lib/AppInfo/Application.php b/apps/files_trashbin/lib/AppInfo/Application.php
index 4baa82a6b4b..a2613a13b41 100644
--- a/apps/files_trashbin/lib/AppInfo/Application.php
+++ b/apps/files_trashbin/lib/AppInfo/Application.php
@@ -46,12 +46,7 @@ class Application extends App {
/*
* Register expiration
*/
- $container->registerService('Expiration', function($c) {
- return new Expiration(
- $c->query('ServerContainer')->getConfig(),
- $c->query(ITimeFactory::class)
- );
- });
+ $container->registerAlias('Expiration', Expiration::class);
/*
* Register $principalBackend for the DAV collection