mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
Merge pull request #47957 from nextcloud/backport/47954/stable30
This commit is contained in:
commit
b5347e89e7
2 changed files with 4 additions and 4 deletions
|
|
@ -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]));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -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]));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue