aboutsummaryrefslogtreecommitdiffstats
path: root/apps/twofactor_backupcodes/appinfo/app.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/twofactor_backupcodes/appinfo/app.php')
-rw-r--r--apps/twofactor_backupcodes/appinfo/app.php4
1 files changed, 3 insertions, 1 deletions
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();