diff options
author | Robin Appelman <robin@icewind.nl> | 2017-06-14 18:11:55 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2017-08-26 10:18:19 +0200 |
commit | 37e8b698f71481fe420a8eb248a5f604cd732cbd (patch) | |
tree | dedebf15d9c9d7aaa1eee8302369c37a6d50a052 /apps/dav/lib/Connector/Sabre/ObjectTree.php | |
parent | ca490bafb950b9d16ab4543ae810c3a67cb84d5b (diff) | |
download | nextcloud-server-37e8b698f71481fe420a8eb248a5f604cd732cbd.tar.gz nextcloud-server-37e8b698f71481fe420a8eb248a5f604cd732cbd.zip |
cache nodes from search results
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/dav/lib/Connector/Sabre/ObjectTree.php')
-rw-r--r-- | apps/dav/lib/Connector/Sabre/ObjectTree.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/dav/lib/Connector/Sabre/ObjectTree.php b/apps/dav/lib/Connector/Sabre/ObjectTree.php index 3371c655f29..a44b25c24cb 100644 --- a/apps/dav/lib/Connector/Sabre/ObjectTree.php +++ b/apps/dav/lib/Connector/Sabre/ObjectTree.php @@ -39,7 +39,7 @@ use OCP\Files\StorageInvalidException; use OCP\Files\StorageNotAvailableException; use OCP\Lock\LockedException; -class ObjectTree extends \Sabre\DAV\Tree { +class ObjectTree extends CachingTree { /** * @var \OC\Files\View @@ -97,10 +97,6 @@ class ObjectTree extends \Sabre\DAV\Tree { return $path; } - public function cacheNode(Node $node) { - $this->cache[trim($node->getPath(), '/')] = $node; - } - /** * Returns the INode object for the requested path * |