update to sabre/dav to version 3.2.0
This commit is contained in:
@@ -25,7 +25,7 @@ class File extends AbstractDigest {
|
||||
/**
|
||||
* Creates the backend object.
|
||||
*
|
||||
* If the filename argument is passed in, it will parse out the specified file fist.
|
||||
* If the filename argument is passed in, it will parse out the specified file first.
|
||||
*
|
||||
* @param string|null $filename
|
||||
*/
|
||||
|
||||
10
vendor/sabre/dav/lib/DAV/FSExt/Directory.php
vendored
10
vendor/sabre/dav/lib/DAV/FSExt/Directory.php
vendored
@@ -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);
|
||||
|
||||
|
||||
2
vendor/sabre/dav/lib/DAV/Version.php
vendored
2
vendor/sabre/dav/lib/DAV/Version.php
vendored
@@ -14,6 +14,6 @@ class Version {
|
||||
/**
|
||||
* Full version number
|
||||
*/
|
||||
const VERSION = '3.2.0-beta1';
|
||||
const VERSION = '3.2.0';
|
||||
|
||||
}
|
||||
|
||||
@@ -127,7 +127,7 @@ class ShareAccess implements Element {
|
||||
switch ($elem['name']) {
|
||||
case '{DAV:}not-shared' :
|
||||
return new self(SharingPlugin::ACCESS_NOTSHARED);
|
||||
case '{DAV:}sharedowner' :
|
||||
case '{DAV:}shared-owner' :
|
||||
return new self(SharingPlugin::ACCESS_SHAREDOWNER);
|
||||
case '{DAV:}read' :
|
||||
return new self(SharingPlugin::ACCESS_READ);
|
||||
|
||||
@@ -32,16 +32,11 @@ class SupportedMethodSet implements XmlSerializable, HtmlOutput {
|
||||
/**
|
||||
* Creates the property
|
||||
*
|
||||
* Any reports passed in the constructor
|
||||
* should be valid report-types in clark-notation.
|
||||
*
|
||||
* Either a string or an array of strings must be passed.
|
||||
*
|
||||
* @param string|string[] $methods
|
||||
* @param string[] $methods
|
||||
*/
|
||||
function __construct($methods = null) {
|
||||
function __construct(array $methods) {
|
||||
|
||||
$this->methods = (array)$methods;
|
||||
$this->methods = $methods;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user