From 669f684434b1996689162c9771742dd6088582a0 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Sat, 1 Jul 2017 11:41:21 +0200 Subject: Move logic to Application class Signed-off-by: Joas Schilling --- apps/admin_audit/appinfo/app.php | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'apps/admin_audit/appinfo') 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(); -- cgit v1.2.3