Respect coding style
This commit is contained in:
parent
9a2bc5255b
commit
2271a97992
1 changed files with 9 additions and 3 deletions
|
@ -66,7 +66,7 @@ class OC_Connector_Sabre_Principal implements Sabre_DAVACL_IPrincipalBackend {
|
||||||
*/
|
*/
|
||||||
public function getGroupMemberSet($principal) {
|
public function getGroupMemberSet($principal) {
|
||||||
// TODO: for now the group principal has only one member, the user itself
|
// TODO: for now the group principal has only one member, the user itself
|
||||||
list($prefix,$name) = Sabre_DAV_URLUtil::splitPath($principal);
|
list($prefix, $name) = Sabre_DAV_URLUtil::splitPath($principal);
|
||||||
|
|
||||||
$principal = $this->getPrincipalByPath($prefix);
|
$principal = $this->getPrincipalByPath($prefix);
|
||||||
if (!$principal) throw new Sabre_DAV_Exception('Principal not found');
|
if (!$principal) throw new Sabre_DAV_Exception('Principal not found');
|
||||||
|
@ -115,6 +115,12 @@ class OC_Connector_Sabre_Principal implements Sabre_DAVACL_IPrincipalBackend {
|
||||||
public function setGroupMemberSet($principal, array $members) {
|
public function setGroupMemberSet($principal, array $members) {
|
||||||
throw new Sabre_DAV_Exception('Setting members of the group is not supported yet');
|
throw new Sabre_DAV_Exception('Setting members of the group is not supported yet');
|
||||||
}
|
}
|
||||||
function updatePrincipal($path, $mutations) {return 0;}
|
|
||||||
function searchPrincipals($prefixPath, array $searchProperties) {return 0;}
|
function updatePrincipal($path, $mutations) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
function searchPrincipals($prefixPath, array $searchProperties) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue