diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2020-12-11 14:04:40 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2020-12-15 11:53:39 +0100 |
commit | 2b017b704a4a49801bc09774a1a17cfedca9cc7e (patch) | |
tree | fe97cec90a860aee749340c91d3bb373d061fadf /apps/dav/lib/RootCollection.php | |
parent | 8506d0864b3a017baeed2ad5f9a032ae1d7a6734 (diff) | |
download | nextcloud-server-2b017b704a4a49801bc09774a1a17cfedca9cc7e.tar.gz nextcloud-server-2b017b704a4a49801bc09774a1a17cfedca9cc7e.zip |
dav search to honour sharing.maxAutocompleteResults setting
- it is being used on frontend by users
- user and big instances benefit from quicker results and less load
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/dav/lib/RootCollection.php')
-rw-r--r-- | apps/dav/lib/RootCollection.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/RootCollection.php b/apps/dav/lib/RootCollection.php index 83f3691959b..b08775d80f6 100644 --- a/apps/dav/lib/RootCollection.php +++ b/apps/dav/lib/RootCollection.php @@ -72,7 +72,7 @@ class RootCollection extends SimpleCollection { $proxyMapper, \OC::$server->getConfig() ); - $groupPrincipalBackend = new GroupPrincipalBackend($groupManager, $userSession, $shareManager); + $groupPrincipalBackend = new GroupPrincipalBackend($groupManager, $userSession, $shareManager, $config); $calendarResourcePrincipalBackend = new ResourcePrincipalBackend($db, $userSession, $groupManager, $logger, $proxyMapper); $calendarRoomPrincipalBackend = new RoomPrincipalBackend($db, $userSession, $groupManager, $logger, $proxyMapper); // as soon as debug mode is enabled we allow listing of principals |