summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CardDAV/AddressBookRoot.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/lib/CardDAV/AddressBookRoot.php')
-rw-r--r--apps/dav/lib/CardDAV/AddressBookRoot.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/lib/CardDAV/AddressBookRoot.php b/apps/dav/lib/CardDAV/AddressBookRoot.php
index 771e44b7d32..57fc6b71010 100644
--- a/apps/dav/lib/CardDAV/AddressBookRoot.php
+++ b/apps/dav/lib/CardDAV/AddressBookRoot.php
@@ -56,11 +56,11 @@ class AddressBookRoot extends \Sabre\CardDAV\AddressBookRoot {
*
* @return \Sabre\DAV\INode
*/
- function getChildForPrincipal(array $principal) {
+ public function getChildForPrincipal(array $principal) {
return new UserAddressBooks($this->carddavBackend, $principal['uri'], $this->pluginManager);
}
- function getName() {
+ public function getName() {
if ($this->principalPrefix === 'principals') {
return parent::getName();
}