summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-02-25 16:26:47 +0100
committerGeorg Ehrke <dev@georgswebsite.de>2012-02-25 16:26:47 +0100
commit0d2f1688e4ade41b2937572b28f711186660bd9e (patch)
treec95307406e402829fe2eb78b11527e477f4ef80a /lib
parentcc1585238641a78ff3a0b311a29b92070e3766a7 (diff)
downloadnextcloud-server-0d2f1688e4ade41b2937572b28f711186660bd9e.tar.gz
nextcloud-server-0d2f1688e4ade41b2937572b28f711186660bd9e.zip
add empty methods updatePrincipal and searchPrincipals and change method getPrincipalByPath to work with sabredav 1.6
Diffstat (limited to 'lib')
-rw-r--r--lib/connector/sabre/principal.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/connector/sabre/principal.php b/lib/connector/sabre/principal.php
index 72e180c65c0..6cfb3449e1a 100644
--- a/lib/connector/sabre/principal.php
+++ b/lib/connector/sabre/principal.php
@@ -90,7 +90,7 @@ class OC_Connector_Sabre_Principal implements Sabre_DAVACL_IPrincipalBackend {
* @return array
*/
public function getPrincipalByPath($path) {
- list($prefix,$name) = Sabre_DAV_URLUtil::splitPath($path);
+ list($prefix,$name) = explode('/', $path);
if ($prefix == 'principals' && OC_User::userExists($name)) {
return array(
@@ -159,4 +159,6 @@ 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;}
}