summaryrefslogtreecommitdiffstats
path: root/apps/twofactor_backupcodes/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-07-16 11:36:32 +0200
committerJoas Schilling <coding@schilljs.com>2019-07-16 11:36:32 +0200
commit55f5bc79a148f065cffa8c97e1867c5814047ff0 (patch)
treef7873ae6cce3d3fa96ea620854e36f2470c25e3a /apps/twofactor_backupcodes/lib
parent6d71e471e166c30c0b9abe05d36240b9f1556d8e (diff)
downloadnextcloud-server-55f5bc79a148f065cffa8c97e1867c5814047ff0.tar.gz
nextcloud-server-55f5bc79a148f065cffa8c97e1867c5814047ff0.zip
Keep the old method as a fallback and adjust the tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/twofactor_backupcodes/lib')
-rw-r--r--apps/twofactor_backupcodes/lib/AppInfo/Application.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/twofactor_backupcodes/lib/AppInfo/Application.php b/apps/twofactor_backupcodes/lib/AppInfo/Application.php
index c4e02aaa261..735ee091bd1 100644
--- a/apps/twofactor_backupcodes/lib/AppInfo/Application.php
+++ b/apps/twofactor_backupcodes/lib/AppInfo/Application.php
@@ -74,7 +74,7 @@ class Application extends App {
$container = $this->getContainer();
/** @var IManager $manager */
$manager = $container->query(IManager::class);
- $manager->registerNotifier(Notifier::class);
+ $manager->registerNotifierService(Notifier::class);
}
public function deleteUser($params) {