Quellcode durchsuchen

Respect coding style

tags/v4.5.0beta3
Thomas Müller vor 11 Jahren
Ursprung
Commit
2271a97992
1 geänderte Dateien mit 9 neuen und 3 gelöschten Zeilen
  1. 9
    3
      lib/connector/sabre/principal.php

+ 9
- 3
lib/connector/sabre/principal.php Datei anzeigen

@@ -66,7 +66,7 @@ class OC_Connector_Sabre_Principal implements Sabre_DAVACL_IPrincipalBackend {
*/
public function getGroupMemberSet($principal) {
// 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);
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) {
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;
}
}

Laden…
Abbrechen
Speichern