summaryrefslogtreecommitdiffstats
path: root/apps/twofactor_backupcodes/appinfo
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-05-15 13:19:44 +0200
committerJoas Schilling <coding@schilljs.com>2017-05-15 13:31:30 +0200
commitcd79eb1b2ce70876a496e071af90bd601d8ddcd1 (patch)
treeb1c13af16833549c6449c2f472a81eeb7eb3134a /apps/twofactor_backupcodes/appinfo
parentc56c98183d2c8078c436e9b2e0c4f2a0031b4729 (diff)
downloadnextcloud-server-cd79eb1b2ce70876a496e071af90bd601d8ddcd1.tar.gz
nextcloud-server-cd79eb1b2ce70876a496e071af90bd601d8ddcd1.zip
Remove 2FA backup codes on user deletion
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/twofactor_backupcodes/appinfo')
-rw-r--r--apps/twofactor_backupcodes/appinfo/app.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/twofactor_backupcodes/appinfo/app.php b/apps/twofactor_backupcodes/appinfo/app.php
index 0cb10531360..34b4866af2d 100644
--- a/apps/twofactor_backupcodes/appinfo/app.php
+++ b/apps/twofactor_backupcodes/appinfo/app.php
@@ -1,7 +1,8 @@
<?php
-
/**
- * @author Christoph Wurst <christoph@winzerhof-wurst.at>
+ * @copyright Copyright (c) 2017 Joas Schilling <coding@schilljs.com>
+ *
+ * @author Joas Schilling <coding@schilljs.com>
*
* @license GNU AGPL version 3 or any later version
*
@@ -20,6 +21,5 @@
*
*/
-// @codeCoverageIgnoreStart
-OC_App::registerPersonal('twofactor_backupcodes', 'settings/personal');
-// @codeCoverageIgnoreEnd
+$app = new \OCA\TwoFactorBackupCodes\AppInfo\Application();
+$app->register();