summaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Cache/Wrapper/CacheWrapper.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Files/Cache/Wrapper/CacheWrapper.php')
-rw-r--r--lib/private/Files/Cache/Wrapper/CacheWrapper.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/private/Files/Cache/Wrapper/CacheWrapper.php b/lib/private/Files/Cache/Wrapper/CacheWrapper.php
index e25282942b2..8b8b4b6af80 100644
--- a/lib/private/Files/Cache/Wrapper/CacheWrapper.php
+++ b/lib/private/Files/Cache/Wrapper/CacheWrapper.php
@@ -49,12 +49,7 @@ class CacheWrapper extends Cache {
$this->cache = $cache;
$this->mimetypeLoader = \OC::$server->getMimeTypeLoader();
$this->connection = \OC::$server->getDatabaseConnection();
- $this->querySearchHelper = new QuerySearchHelper(
- $this->mimetypeLoader,
- $this->connection,
- \OC::$server->getSystemConfig(),
- \OC::$server->getLogger()
- );
+ $this->querySearchHelper = \OC::$server->get(QuerySearchHelper::class);
}
protected function getCache() {