summaryrefslogtreecommitdiffstats
path: root/apps/admin_audit/appinfo
diff options
context:
space:
mode:
Diffstat (limited to 'apps/admin_audit/appinfo')
-rw-r--r--apps/admin_audit/appinfo/app.php11
1 files changed, 9 insertions, 2 deletions
diff --git a/apps/admin_audit/appinfo/app.php b/apps/admin_audit/appinfo/app.php
index a085b74585d..59f7e3987a1 100644
--- a/apps/admin_audit/appinfo/app.php
+++ b/apps/admin_audit/appinfo/app.php
@@ -1,6 +1,7 @@
<?php
/**
-
+ * @copyright Copyright (c) 2016 Bjoern Schiessle <bjoern@schiessle.org>
+ * @copyright Copyright (c) 2017 Lukas Reschke <lukas@statuscode.ch>
*
* @author Bjoern Schiessle <bjoern@schiessle.org>
* @author Lukas Reschke <lukas@statuscode.ch>
@@ -25,6 +26,12 @@
$logger = \OC::$server->getLogger();
$userSession = \OC::$server->getUserSession();
$groupManager = \OC::$server->getGroupManager();
+$eventDispatcher = \OC::$server->getEventDispatcher();
-$auditLogger = new \OCA\Admin_Audit\AuditLogger($logger, $userSession, $groupManager);
+$auditLogger = new \OCA\Admin_Audit\AuditLogger(
+ $logger,
+ $userSession,
+ $groupManager,
+ $eventDispatcher
+);
$auditLogger->registerHooks();