summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2016-11-17 11:48:29 +0100
committerRobin Appelman <robin@icewind.nl>2016-11-17 14:59:31 +0100
commit30e7c27d860bf67ff37778d00fb812aefa8fefa5 (patch)
tree8287e7b3b57e603e11ad389d19d5c3a6c1cc7a9d /lib
parentde983e61e3660964154d1c7f447ca8a2055cc2d6 (diff)
downloadnextcloud-server-30e7c27d860bf67ff37778d00fb812aefa8fefa5.tar.gz
nextcloud-server-30e7c27d860bf67ff37778d00fb812aefa8fefa5.zip
reuse the known rootinfo in the shared cache when possible
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Files/Cache/Wrapper/CacheJail.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Files/Cache/Wrapper/CacheJail.php b/lib/private/Files/Cache/Wrapper/CacheJail.php
index 1196c6b0760..0a379aefdc6 100644
--- a/lib/private/Files/Cache/Wrapper/CacheJail.php
+++ b/lib/private/Files/Cache/Wrapper/CacheJail.php
@@ -27,6 +27,7 @@
namespace OC\Files\Cache\Wrapper;
use OC\Files\Cache\Cache;
+use OCP\Files\Cache\ICacheEntry;
/**
* Jail to a subdirectory of the wrapped cache
@@ -73,7 +74,7 @@ class CacheJail extends CacheWrapper {
}
/**
- * @param array $entry
+ * @param ICacheEntry|array $entry
* @return array
*/
protected function formatCacheEntry($entry) {