summaryrefslogtreecommitdiffstats
path: root/apps/files_versions/lib/Storage.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-05-11 22:25:07 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-05-11 22:25:07 +0200
commitcd53498256c8d600821a55180c75564bcc63a364 (patch)
tree01ad255ce09a51f1e7aafd370b28b4568d627c8a /apps/files_versions/lib/Storage.php
parent8d17d7f6cd1027a96586a25ae5a583ec50d56797 (diff)
downloadnextcloud-server-cd53498256c8d600821a55180c75564bcc63a364.tar.gz
nextcloud-server-cd53498256c8d600821a55180c75564bcc63a364.zip
Use more magic DI in files_versions
There is no need to register this. The system can figure out by itself what it needs to do :) Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files_versions/lib/Storage.php')
-rw-r--r--apps/files_versions/lib/Storage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_versions/lib/Storage.php b/apps/files_versions/lib/Storage.php
index 52afdfdaa5a..217bf02fd39 100644
--- a/apps/files_versions/lib/Storage.php
+++ b/apps/files_versions/lib/Storage.php
@@ -845,7 +845,7 @@ class Storage {
if (is_null(self::$application)) {
self::$application = new Application();
}
- return self::$application->getContainer()->query('Expiration');
+ return self::$application->getContainer()->query(Expiration::class);
}
}