diff options
author | Kate <26026535+provokateurin@users.noreply.github.com> | 2024-09-14 14:30:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-14 14:30:01 +0200 |
commit | 0b65a3e762a4b804512871fa653ef2efe3996af8 (patch) | |
tree | 05f988a8cbe8c1dcb8f8ec9d78dac2629a134a9f /lib | |
parent | e680a7a87d4d7d7e94dd7416a7ed53ff38bd3eb0 (diff) | |
parent | aff9322287be40a0593d394ab534c35e7690efe5 (diff) | |
download | nextcloud-server-0b65a3e762a4b804512871fa653ef2efe3996af8.tar.gz nextcloud-server-0b65a3e762a4b804512871fa653ef2efe3996af8.zip |
Merge pull request #47956 from nextcloud/backport/47954/stable28
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Files/Cache/Cache.php | 4 | ||||
-rw-r--r-- | lib/private/Files/Cache/Wrapper/CacheWrapper.php | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/Files/Cache/Cache.php b/lib/private/Files/Cache/Cache.php index 0586bec9146..5fd5732cbe4 100644 --- a/lib/private/Files/Cache/Cache.php +++ b/lib/private/Files/Cache/Cache.php @@ -885,8 +885,8 @@ class Cache implements ICache { return $this->searchQuery(new SearchQuery($operator, 0, 0, [], null)); } - public function searchQuery(ISearchQuery $searchQuery) { - return current($this->querySearchHelper->searchInCaches($searchQuery, [$this])); + public function searchQuery(ISearchQuery $query) { + return current($this->querySearchHelper->searchInCaches($query, [$this])); } /** diff --git a/lib/private/Files/Cache/Wrapper/CacheWrapper.php b/lib/private/Files/Cache/Wrapper/CacheWrapper.php index 59da272787e..643611ecc86 100644 --- a/lib/private/Files/Cache/Wrapper/CacheWrapper.php +++ b/lib/private/Files/Cache/Wrapper/CacheWrapper.php @@ -237,8 +237,8 @@ class CacheWrapper extends Cache { return $this->getCache()->getStatus($file); } - public function searchQuery(ISearchQuery $searchQuery) { - return current($this->querySearchHelper->searchInCaches($searchQuery, [$this])); + public function searchQuery(ISearchQuery $query) { + return current($this->querySearchHelper->searchInCaches($query, [$this])); } /** |