diff options
author | Robin Appelman <robin@icewind.nl> | 2021-06-14 16:17:43 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2021-06-14 16:23:08 +0200 |
commit | 362cb2a11f7a95762ecfc7662768442bca233018 (patch) | |
tree | 936a654f201c0ecfbc2cb021992df90ead8f2eda /lib/private/Files/Cache/Wrapper/CacheWrapper.php | |
parent | 66e10718c6109d0c02d603a5612fe4acc34c711f (diff) | |
download | nextcloud-server-362cb2a11f7a95762ecfc7662768442bca233018.tar.gz nextcloud-server-362cb2a11f7a95762ecfc7662768442bca233018.zip |
inject SearchBuilder
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/Files/Cache/Wrapper/CacheWrapper.php')
-rw-r--r-- | lib/private/Files/Cache/Wrapper/CacheWrapper.php | 7 |
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() { |