summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/RootCollection.php
diff options
context:
space:
mode:
authorChristoph Seitz <christoph.seitz@posteo.de>2017-10-01 16:03:30 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-12-11 16:04:55 +0100
commit787e3d51b454c072947ed0df5426ad70b9814b8f (patch)
treecd1d6f324e0c578bda4b33c72ca57cbf225752df /apps/dav/lib/RootCollection.php
parent80b27fdb93ac0c170d0b5e214f67a2eff6c366ad (diff)
downloadnextcloud-server-787e3d51b454c072947ed0df5426ad70b9814b8f.tar.gz
nextcloud-server-787e3d51b454c072947ed0df5426ad70b9814b8f.zip
Fix functions to search for principals in the backend.
Add a "searchPrincipals" function to the NC principal backend. Fix the "findByUri" function to respect the prefixPath. Signed-off-by: Christoph Seitz <christoph.seitz@posteo.de>
Diffstat (limited to 'apps/dav/lib/RootCollection.php')
-rw-r--r--apps/dav/lib/RootCollection.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/RootCollection.php b/apps/dav/lib/RootCollection.php
index 7af1745cd74..c0f7b1e497b 100644
--- a/apps/dav/lib/RootCollection.php
+++ b/apps/dav/lib/RootCollection.php
@@ -32,7 +32,7 @@ use OCA\DAV\CardDAV\CardDavBackend;
use OCA\DAV\Connector\Sabre\Principal;
use OCA\DAV\DAV\GroupPrincipalBackend;
use OCA\DAV\DAV\SystemPrincipalBackend;
-use Sabre\CalDAV\Principal\Collection;
+use OCA\DAV\CalDAV\Principal\Collection;
use Sabre\DAV\SimpleCollection;
class RootCollection extends SimpleCollection {