aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config/notifications.yml
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/config/notifications.yml')
-rw-r--r--phpBB/config/notifications.yml20
1 files changed, 19 insertions, 1 deletions
diff --git a/phpBB/config/notifications.yml b/phpBB/config/notifications.yml
index 6fecae2aeb..5675e76a99 100644
--- a/phpBB/config/notifications.yml
+++ b/phpBB/config/notifications.yml
@@ -266,7 +266,7 @@ services:
- { name: notification.type }
notification.type.report_post_closed:
- class: phpbb\notification\type\report_post
+ class: phpbb\notification\type\report_post_closed
scope: prototype # scope MUST be prototype for this to work!
arguments:
- @user_loader
@@ -319,6 +319,24 @@ services:
tags:
- { name: notification.type }
+ notification.type.admin_activate_user:
+ class: phpbb\notification\type\admin_activate_user
+ scope: prototype # scope MUST be prototype for this to work!
+ arguments:
+ - @user_loader
+ - @dbal.conn
+ - @cache.driver
+ - @user
+ - @auth
+ - @config
+ - %core.root_path%
+ - %core.php_ext%
+ - %tables.notification_types%
+ - %tables.notifications%
+ - %tables.user_notifications%
+ tags:
+ - { name: notification.type }
+
notification.method.email:
class: phpbb\notification\method\email
scope: prototype # scope MUST be prototype for this to work!