diff --git a/lib/Filesystem/CacheWrapper.php b/lib/Filesystem/CacheWrapper.php index 8233a60ef91386830cf3f543f180ca8de1050b50..da6e32537a1603509f851e699e253113ae32d3fc 100644 --- a/lib/Filesystem/CacheWrapper.php +++ b/lib/Filesystem/CacheWrapper.php @@ -7,7 +7,9 @@ namespace OCA\EcloudAccounts\Filesystem; use OC\Files\Cache\Wrapper\CacheWrapper as Wrapper; use OCP\Constants; use OCP\Files\Cache\ICache; +use OCP\Files\Cache\ICacheEntry; use OCP\Files\ForbiddenException; +use OCP\Files\Search\ISearchQuery; class CacheWrapper extends Wrapper { @@ -44,4 +46,12 @@ class CacheWrapper extends Wrapper { public function remove($fileId) { throw new \Exception('User data cache removal is disabled.'); } + + public function searchQuery(ISearchQuery $searchQuery) { + return []; + } + + public function getCacheEntryFromSearchResult(ICacheEntry $rawEntry): ?ICacheEntry { + return null; + } }