Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/undo-ransomware/ransomware_detection.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/AppInfo/Application.php')
-rw-r--r--lib/AppInfo/Application.php11
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php
index e3827bf..dedb5af 100644
--- a/lib/AppInfo/Application.php
+++ b/lib/AppInfo/Application.php
@@ -174,15 +174,6 @@ class Application extends App
protected function registerNotificationNotifier()
{
- $this->getContainer()->getServer()->getNotificationManager()->registerNotifier(function () {
- return $this->getContainer()->query(Notifier::class);
- }, function () {
- $l = $this->getContainer()->getServer()->getL10NFactory()->get(self::APP_ID);
-
- return [
- 'id' => self::APP_ID,
- 'name' => $l->t('Ransomware recovery'),
- ];
- });
+ $this->getContainer()->getServer()->getNotificationManager()->registerNotifierService(Notifier::class);
}
}