aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-01-20 21:39:08 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-02-08 10:52:30 +0100
commita67f7ad1f36c0a4a2232e31befaec15cd8a0f0e1 (patch)
tree77d5d77ebfda7519d6527df30385c9beffd09e8a /apps/dav
parentcca2ade199f09c2e4c2c00c86e776dcc3b51d60f (diff)
downloadnextcloud-server-a67f7ad1f36c0a4a2232e31befaec15cd8a0f0e1.tar.gz
nextcloud-server-a67f7ad1f36c0a4a2232e31befaec15cd8a0f0e1.zip
Remove calendar-proxy support - did this ever work?
Diffstat (limited to 'apps/dav')
-rw-r--r--apps/dav/lib/connector/sabre/principal.php2
-rw-r--r--apps/dav/tests/unit/connector/sabre/principal.php5
2 files changed, 1 insertions, 6 deletions
diff --git a/apps/dav/lib/connector/sabre/principal.php b/apps/dav/lib/connector/sabre/principal.php
index 0f60ec33744..4f26390e3cc 100644
--- a/apps/dav/lib/connector/sabre/principal.php
+++ b/apps/dav/lib/connector/sabre/principal.php
@@ -147,8 +147,6 @@ class Principal implements BackendInterface {
return $this->principalPrefix . '/' . $group->getGID();
}, $groups);
-// $groups[]= $this->principalPrefix . '/' . $name . '/calendar-proxy-read';
-// $groups[]= $this->principalPrefix . '/' . $name . '/calendar-proxy-write';
return $groups;
}
return [];
diff --git a/apps/dav/tests/unit/connector/sabre/principal.php b/apps/dav/tests/unit/connector/sabre/principal.php
index d6bc7cd405f..07bfd5d263b 100644
--- a/apps/dav/tests/unit/connector/sabre/principal.php
+++ b/apps/dav/tests/unit/connector/sabre/principal.php
@@ -211,10 +211,7 @@ class Principal extends TestCase {
->method('getUserGroups')
->willReturn([]);
- $expectedResponse = [
- 'principals/users/foo/calendar-proxy-read',
- 'principals/users/foo/calendar-proxy-write'
- ];
+ $expectedResponse = [];
$response = $this->connector->getGroupMembership('principals/users/foo');
$this->assertSame($expectedResponse, $response);
}