From ef2fb51065aabb90e8e4234d84a78f4e047f7d1c Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 4 Nov 2019 19:25:00 +0100 Subject: remove missed manual Application instance constructions Signed-off-by: Robin Appelman --- apps/twofactor_backupcodes/appinfo/app.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'apps/twofactor_backupcodes/appinfo') diff --git a/apps/twofactor_backupcodes/appinfo/app.php b/apps/twofactor_backupcodes/appinfo/app.php index 34b4866af2d..f67e89d23b7 100644 --- a/apps/twofactor_backupcodes/appinfo/app.php +++ b/apps/twofactor_backupcodes/appinfo/app.php @@ -21,5 +21,7 @@ * */ -$app = new \OCA\TwoFactorBackupCodes\AppInfo\Application(); +use OCA\TwoFactorBackupCodes\AppInfo\Application; + +$app = \OC::$server->query(Application::class); $app->register(); -- cgit v1.2.3