aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/dav/lib/DAV/Server.php
diff options
context:
space:
mode:
authorM. Dent <dentm42@gmail.com>2018-10-31 01:32:44 +0100
committerM. Dent <dentm42@gmail.com>2018-10-31 01:32:44 +0100
commitf9ab7647dd660adb37464614616cb8484c500de4 (patch)
treea3155f3820e9c4e86941a13d878a914b35941a61 /vendor/sabre/dav/lib/DAV/Server.php
parent046d264688aae76874fa22870f4bed77192335c2 (diff)
parentfc6ff45c4976d158ac565a7693b2e4d30fe70e33 (diff)
downloadvolse-hubzilla-f9ab7647dd660adb37464614616cb8484c500de4.tar.gz
volse-hubzilla-f9ab7647dd660adb37464614616cb8484c500de4.tar.bz2
volse-hubzilla-f9ab7647dd660adb37464614616cb8484c500de4.zip
Merge branch 'composer-updates' into 'dev'
update html_to_markdown, smarty and sabredav libs via composer See merge request hubzilla/core!1361
Diffstat (limited to 'vendor/sabre/dav/lib/DAV/Server.php')
-rw-r--r--vendor/sabre/dav/lib/DAV/Server.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/vendor/sabre/dav/lib/DAV/Server.php b/vendor/sabre/dav/lib/DAV/Server.php
index 6805ec0b0..f7fcf3057 100644
--- a/vendor/sabre/dav/lib/DAV/Server.php
+++ b/vendor/sabre/dav/lib/DAV/Server.php
@@ -893,15 +893,16 @@ class Server extends EventEmitter implements LoggerAwareInterface {
$newDepth--;
}
+ $propertyNames = $propFind->getRequestedProperties();
+ $propFindType = !empty($propertyNames) ? PropFind::NORMAL : PropFind::ALLPROPS;
+
foreach ($this->tree->getChildren($path) as $childNode) {
- $subPropFind = clone $propFind;
- $subPropFind->setDepth($newDepth);
if ($path !== '') {
$subPath = $path . '/' . $childNode->getName();
} else {
$subPath = $childNode->getName();
}
- $subPropFind->setPath($subPath);
+ $subPropFind = new PropFind($subPath, $propertyNames, $newDepth, $propFindType);
yield [
$subPropFind,