diff options
author | Kate <26026535+provokateurin@users.noreply.github.com> | 2024-09-13 18:59:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-13 18:59:14 +0200 |
commit | 80f3227204ef88bc58ebda1bd56c2bbb12d47a86 (patch) | |
tree | 74850e1b9a3852cacff63a27b7e5edae45b6acf6 | |
parent | bcb4e781a407798ef9d071dc3a15a1d0ac9e0e8d (diff) | |
parent | 714671a8a6003246a84ad76cc0fe10c97d3fb828 (diff) | |
download | nextcloud-server-80f3227204ef88bc58ebda1bd56c2bbb12d47a86.tar.gz nextcloud-server-80f3227204ef88bc58ebda1bd56c2bbb12d47a86.zip |
Merge pull request #47954 from nextcloud/fix/files/cache-search-query-parameter-name
-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 a8d9067050d..0b0ff8ee4fa 100644 --- a/lib/private/Files/Cache/Cache.php +++ b/lib/private/Files/Cache/Cache.php @@ -873,8 +873,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 17f1031d1cc..fdaa2cf4b7a 100644 --- a/lib/private/Files/Cache/Wrapper/CacheWrapper.php +++ b/lib/private/Files/Cache/Wrapper/CacheWrapper.php @@ -214,8 +214,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])); } /** |