aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Files/RootCollection.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/lib/Files/RootCollection.php')
-rw-r--r--apps/dav/lib/Files/RootCollection.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/lib/Files/RootCollection.php b/apps/dav/lib/Files/RootCollection.php
index 22142b46e1c..b83e944edcc 100644
--- a/apps/dav/lib/Files/RootCollection.php
+++ b/apps/dav/lib/Files/RootCollection.php
@@ -42,7 +42,7 @@ class RootCollection extends AbstractPrincipalCollection {
* @param array $principalInfo
* @return INode
*/
- function getChildForPrincipal(array $principalInfo) {
+ public function getChildForPrincipal(array $principalInfo) {
list(,$name) = \Sabre\Uri\split($principalInfo['uri']);
$user = \OC::$server->getUserSession()->getUser();
if (is_null($user) || $name !== $user->getUID()) {
@@ -58,7 +58,7 @@ class RootCollection extends AbstractPrincipalCollection {
return new FilesHome($principalInfo, $userFolder);
}
- function getName() {
+ public function getName() {
return 'files';
}
}