Loading lib/Filesystem/CacheWrapper.php +10 −0 Original line number Diff line number Diff line Loading @@ -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 { Loading Loading @@ -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; } } Loading
lib/Filesystem/CacheWrapper.php +10 −0 Original line number Diff line number Diff line Loading @@ -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 { Loading Loading @@ -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; } }