diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-20 21:39:08 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-02-08 10:52:30 +0100 |
commit | a67f7ad1f36c0a4a2232e31befaec15cd8a0f0e1 (patch) | |
tree | 77d5d77ebfda7519d6527df30385c9beffd09e8a /apps/dav | |
parent | cca2ade199f09c2e4c2c00c86e776dcc3b51d60f (diff) | |
download | nextcloud-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.php | 2 | ||||
-rw-r--r-- | apps/dav/tests/unit/connector/sabre/principal.php | 5 |
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); } |