diff options
author | Jakob Sack <kde@jakobsack.de> | 2011-08-06 23:09:38 +0200 |
---|---|---|
committer | Jakob Sack <kde@jakobsack.de> | 2011-08-06 23:09:38 +0200 |
commit | 42a65497295aeba95163af89802989701aea30ca (patch) | |
tree | 84a1699205a2596ca41225ee91b9e30851e376fa /lib/connector | |
parent | 2f10598af69209f2e84797aaf3399536f824f564 (diff) | |
download | nextcloud-server-42a65497295aeba95163af89802989701aea30ca.tar.gz nextcloud-server-42a65497295aeba95163af89802989701aea30ca.zip |
Database.xml
Diffstat (limited to 'lib/connector')
-rw-r--r-- | lib/connector/sabre/principal.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/connector/sabre/principal.php b/lib/connector/sabre/principal.php index b3070087fd7..9c386f85e15 100644 --- a/lib/connector/sabre/principal.php +++ b/lib/connector/sabre/principal.php @@ -37,8 +37,8 @@ class OC_Connector_Sabre_Principal implements Sabre_DAVACL_IPrincipalBackend { // We have to delete the principals and relations! Principals include while($row = $result->fetchRow()){ // Checking if the principal is in the prefix - list($rowPrefix,$rowUser) = Sabre_DAV_URLUtil::splitPath($row['uri']); - if ($rowUser !== $params['uid']) continue; + $array = explode('/',$row['uri']); + if ($array[1] != $params['uid']) continue; $deleteprincipal->execute(array($row['id'])); $deletegroup->execute(array($row['id'],$row['id'])); } |