diff options
author | Joas Schilling <coding@schilljs.com> | 2017-07-01 11:41:21 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-07-01 11:41:21 +0200 |
commit | 669f684434b1996689162c9771742dd6088582a0 (patch) | |
tree | 789450b9881f41cf01ce0d5a41498da8ceee2c5d /apps/admin_audit/appinfo | |
parent | 8260d4bf73b3ff50ebbf53680fcafb7f320a3977 (diff) | |
download | nextcloud-server-669f684434b1996689162c9771742dd6088582a0.tar.gz nextcloud-server-669f684434b1996689162c9771742dd6088582a0.zip |
Move logic to Application class
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/admin_audit/appinfo')
-rw-r--r-- | apps/admin_audit/appinfo/app.php | 15 |
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(); |