diff options
author | Cesar G <prototech91@gmail.com> | 2013-10-24 02:37:20 -0700 |
---|---|---|
committer | Cesar G <prototech91@gmail.com> | 2013-10-24 02:37:20 -0700 |
commit | d607f1c927ed6fb54d6c46eb13b5bcd4133f8cfc (patch) | |
tree | 28e6ee53079f2a80446832aea4b95b2d6aa23cf4 /phpBB/config | |
parent | 2adf3d7a3473fe8d01e850329bd935e97f09668d (diff) | |
download | forums-d607f1c927ed6fb54d6c46eb13b5bcd4133f8cfc.tar forums-d607f1c927ed6fb54d6c46eb13b5bcd4133f8cfc.tar.gz forums-d607f1c927ed6fb54d6c46eb13b5bcd4133f8cfc.tar.bz2 forums-d607f1c927ed6fb54d6c46eb13b5bcd4133f8cfc.tar.xz forums-d607f1c927ed6fb54d6c46eb13b5bcd4133f8cfc.zip |
[ticket/11746] Add "admin activation required" notification.
PHPBB3-11746
Diffstat (limited to 'phpBB/config')
-rw-r--r-- | phpBB/config/notifications.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/phpBB/config/notifications.yml b/phpBB/config/notifications.yml index 6fecae2aeb..c4295d8e52 100644 --- a/phpBB/config/notifications.yml +++ b/phpBB/config/notifications.yml @@ -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! |