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
1 changed files with 2 additions and 1 deletions
|
@ -66,7 +66,8 @@ class UploadHome implements ICollection {
|
|||
}
|
||||
|
||||
function getName() {
|
||||
return 'uploads';
|
||||
list(,$name) = \Sabre\Uri\split($this->principalInfo['uri']);
|
||||
return $name;
|
||||
}
|
||||
|
||||
function setName($name) {
|
||||
|
|
Loading…
Reference in a new issue