diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-03-20 18:36:36 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2017-03-20 18:36:36 +0100 |
commit | abaf909ba2ce729ab2b210ff3aef7a2ab879e3da (patch) | |
tree | d68113685b16cf59ef5835ce01ab8325d5447248 /apps/admin_audit/appinfo | |
parent | 03a92eaf74ea3898f67a12e3c19216683abb44d8 (diff) | |
download | nextcloud-server-abaf909ba2ce729ab2b210ff3aef7a2ab879e3da.tar.gz nextcloud-server-abaf909ba2ce729ab2b210ff3aef7a2ab879e3da.zip |
Log access to preview images
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'apps/admin_audit/appinfo')
-rw-r--r-- | apps/admin_audit/appinfo/app.php | 11 |
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(); |