diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-06-28 21:45:14 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-06-28 21:45:14 +0200 |
commit | dcc65bbacb81801b5e138795c18ef9e740dbd26c (patch) | |
tree | 52f0e3879dac66ee7879abeb8c6db9cd6eb0b33c /vendor/sabre/dav/lib/DAV/FSExt | |
parent | feaad50b6c10cd19cffb63609d6eeada3d185fd7 (diff) | |
download | volse-hubzilla-dcc65bbacb81801b5e138795c18ef9e740dbd26c.tar.gz volse-hubzilla-dcc65bbacb81801b5e138795c18ef9e740dbd26c.tar.bz2 volse-hubzilla-dcc65bbacb81801b5e138795c18ef9e740dbd26c.zip |
update to sabre/dav to version 3.2.0
Diffstat (limited to 'vendor/sabre/dav/lib/DAV/FSExt')
-rw-r--r-- | vendor/sabre/dav/lib/DAV/FSExt/Directory.php | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/vendor/sabre/dav/lib/DAV/FSExt/Directory.php b/vendor/sabre/dav/lib/DAV/FSExt/Directory.php index 648079e26..dd5f992db 100644 --- a/vendor/sabre/dav/lib/DAV/FSExt/Directory.php +++ b/vendor/sabre/dav/lib/DAV/FSExt/Directory.php @@ -131,12 +131,7 @@ class Directory extends Node implements DAV\ICollection, DAV\IQuota, DAV\IMoveTa foreach ($iterator as $entry) { - $node = $entry->getFilename(); - - if ($node === '.sabredav') - continue; - - $nodes[] = $this->getChild($node); + $nodes[] = $this->getChild($entry->getFilename()); } return $nodes; @@ -153,9 +148,6 @@ class Directory extends Node implements DAV\ICollection, DAV\IQuota, DAV\IMoveTa // Deleting all children foreach ($this->getChildren() as $child) $child->delete(); - // Removing resource info, if its still around - if (file_exists($this->path . '/.sabredav')) unlink($this->path . '/.sabredav'); - // Removing the directory itself rmdir($this->path); |