diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2020-04-11 08:21:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-11 08:21:35 +0200 |
commit | b5a30d5cd6b53831c0d6d2fd074dc0000fa811de (patch) | |
tree | 386f3cb5df4630a1e87dae706667772e590596b8 /apps/dav/lib/Files/FilesHome.php | |
parent | 97de425a171adf9194dae75eede74cf9f3356cc8 (diff) | |
parent | eea282ccc0d9dfae2d321efddce99cdb18158338 (diff) | |
download | nextcloud-server-b5a30d5cd6b53831c0d6d2fd074dc0000fa811de.tar.gz nextcloud-server-b5a30d5cd6b53831c0d6d2fd074dc0000fa811de.zip |
Merge pull request #20426 from nextcloud/techdebt/psr2
It is done
Diffstat (limited to 'apps/dav/lib/Files/FilesHome.php')
-rw-r--r-- | apps/dav/lib/Files/FilesHome.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/dav/lib/Files/FilesHome.php b/apps/dav/lib/Files/FilesHome.php index c0f243b34fe..71c663b2e2b 100644 --- a/apps/dav/lib/Files/FilesHome.php +++ b/apps/dav/lib/Files/FilesHome.php @@ -49,16 +49,16 @@ class FilesHome extends Directory { parent::__construct($view, $userFolder); } - function delete() { + public function delete() { throw new Forbidden('Permission denied to delete home folder'); } - function getName() { + public function getName() { list(,$name) = \Sabre\Uri\split($this->principalInfo['uri']); return $name; } - function setName($name) { + public function setName($name) { throw new Forbidden('Permission denied to rename this folder'); } } |