diff options
author | Robin Appelman <robin@icewind.nl> | 2017-02-02 18:20:08 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2017-03-01 14:06:39 +0100 |
commit | df2063ee7b49d051f9081c6fd416dd8791358ada (patch) | |
tree | a90e9f6dbae0767247593941e7c6e95b9c41befb /lib/private/Files/Cache/Wrapper/CacheJail.php | |
parent | 706131b394eef4d346f8019b4978f9a735139b03 (diff) | |
download | nextcloud-server-df2063ee7b49d051f9081c6fd416dd8791358ada.tar.gz nextcloud-server-df2063ee7b49d051f9081c6fd416dd8791358ada.zip |
Implement webdav SEARCH
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/Files/Cache/Wrapper/CacheJail.php')
-rw-r--r-- | lib/private/Files/Cache/Wrapper/CacheJail.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/private/Files/Cache/Wrapper/CacheJail.php b/lib/private/Files/Cache/Wrapper/CacheJail.php index 894fbcc803d..ebab20fbaed 100644 --- a/lib/private/Files/Cache/Wrapper/CacheJail.php +++ b/lib/private/Files/Cache/Wrapper/CacheJail.php @@ -28,6 +28,7 @@ namespace OC\Files\Cache\Wrapper; use OC\Files\Cache\Cache; use OCP\Files\Cache\ICacheEntry; +use OCP\Files\Search\ISearchQuery; /** * Jail to a subdirectory of the wrapped cache @@ -218,6 +219,11 @@ class CacheJail extends CacheWrapper { return $this->formatSearchResults($results); } + public function searchQuery(ISearchQuery $query) { + $results = $this->getCache()->searchQuery($query); + return $this->formatSearchResults($results); + } + /** * search for files by mimetype * |