From 97385cef334a1bfb3ace32007349af3ca1094c08 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Tue, 19 Nov 2019 14:36:27 +0100 Subject: Remove some more direct app instance creations Signed-off-by: Christoph Wurst --- apps/admin_audit/appinfo/app.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/admin_audit') diff --git a/apps/admin_audit/appinfo/app.php b/apps/admin_audit/appinfo/app.php index 5cee5c3db70..85e19011e08 100644 --- a/apps/admin_audit/appinfo/app.php +++ b/apps/admin_audit/appinfo/app.php @@ -24,5 +24,5 @@ declare(strict_types=1); * */ -$app = new \OCA\AdminAudit\AppInfo\Application(); +$app = \OC::$server->query(\OCA\AdminAudit\AppInfo\Application::class); $app->register(); -- cgit v1.2.3