Remove calendar-proxy support - did this ever work?

This commit is contained in:
Thomas Müller 2016-01-20 21:39:08 +01:00
parent cca2ade199
commit a67f7ad1f3
2 changed files with 1 additions and 6 deletions

View file

@ -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 [];

View file

@ -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);
}