Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2018-06-05 22:26:29 +0300
committerGeorg Ehrke <developer@georgehrke.com>2018-06-25 05:58:07 +0300
commitb832edabbfce23daca6edbb010c4bf180123930f (patch)
tree9543d288a056d15da0b0fa879b9a345de20ef5b7 /apps/dav/lib/CalDAV/ResourceBooking/RoomPrincipalBackend.php
parent2da510af0b537e3bef7d0563eff828bade51fcbd (diff)
apply group restrictions to resources
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'apps/dav/lib/CalDAV/ResourceBooking/RoomPrincipalBackend.php')
-rw-r--r--apps/dav/lib/CalDAV/ResourceBooking/RoomPrincipalBackend.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/dav/lib/CalDAV/ResourceBooking/RoomPrincipalBackend.php b/apps/dav/lib/CalDAV/ResourceBooking/RoomPrincipalBackend.php
index 0052ee9e62c..1d22299515f 100644
--- a/apps/dav/lib/CalDAV/ResourceBooking/RoomPrincipalBackend.php
+++ b/apps/dav/lib/CalDAV/ResourceBooking/RoomPrincipalBackend.php
@@ -24,6 +24,7 @@ namespace OCA\DAV\CalDAV\ResourceBooking;
use OCP\IDBConnection;
use OCP\IGroupManager;
+use OCP\ILogger;
use OCP\IUserSession;
class RoomPrincipalBackend extends AbstractPrincipalBackend {
@@ -32,11 +33,13 @@ class RoomPrincipalBackend extends AbstractPrincipalBackend {
* @param IDBConnection $dbConnection
* @param IUserSession $userSession
* @param IGroupManager $groupManager
+ * @param ILogger $logger
*/
public function __construct(IDBConnection $dbConnection,
IUserSession $userSession,
- IGroupManager $groupManager) {
- parent::__construct($dbConnection, $userSession, $groupManager,
+ IGroupManager $groupManager,
+ ILogger $logger) {
+ parent::__construct($dbConnection, $userSession, $groupManager, $logger,
'principals/calendar-rooms', 'rooms');
}
}