diff options
author | Kate <26026535+provokateurin@users.noreply.github.com> | 2024-09-14 17:39:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-14 17:39:56 +0200 |
commit | 250e0a939d9b9845950c998d0df4b337e78fd635 (patch) | |
tree | 65a2449a33f5d715a2dac42e0491c3710ac072c5 /lib | |
parent | 392c0f568e069baa94634ead37244951441c267a (diff) | |
parent | f1817dc82b5745c264a541c53ae2c2df3c68dc1d (diff) | |
download | nextcloud-server-250e0a939d9b9845950c998d0df4b337e78fd635.tar.gz nextcloud-server-250e0a939d9b9845950c998d0df4b337e78fd635.zip |
Merge pull request #47958 from nextcloud/backport/47954/stable29
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 de55cc24812..7f52935489d 100644 --- a/lib/private/Files/Cache/Cache.php +++ b/lib/private/Files/Cache/Cache.php @@ -882,8 +882,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 1662c76a6b8..962ac6544f4 100644 --- a/lib/private/Files/Cache/Wrapper/CacheWrapper.php +++ b/lib/private/Files/Cache/Wrapper/CacheWrapper.php @@ -236,8 +236,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])); } /** |