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.php15
1 files changed, 1 insertions, 14 deletions
diff --git a/apps/admin_audit/appinfo/app.php b/apps/admin_audit/appinfo/app.php
index b87b12df8b6..fef5b9ef02b 100644
--- a/apps/admin_audit/appinfo/app.php
+++ b/apps/admin_audit/appinfo/app.php
@@ -23,18 +23,5 @@
*
*/
-
$app = new \OCA\AdminAudit\AppInfo\Application();
-
-$logger = \OC::$server->getLogger();
-$userSession = \OC::$server->getUserSession();
-$groupManager = \OC::$server->getGroupManager();
-$eventDispatcher = \OC::$server->getEventDispatcher();
-
-$auditLogger = new \OCA\AdminAudit\AuditLogger(
- $logger,
- $userSession,
- $groupManager,
- $eventDispatcher
-);
-$auditLogger->registerHooks();
+$app->register();