Return proper principal on the uploads collection listing
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
167f4624ce
commit
e5cc8ebe7a
|
@ -66,7 +66,8 @@ class UploadHome implements ICollection {
|
||||||
}
|
}
|
||||||
|
|
||||||
function getName() {
|
function getName() {
|
||||||
return 'uploads';
|
list(,$name) = \Sabre\Uri\split($this->principalInfo['uri']);
|
||||||
|
return $name;
|
||||||
}
|
}
|
||||||
|
|
||||||
function setName($name) {
|
function setName($name) {
|
||||||
|
|
Loading…
Reference in New Issue