aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2013-07-26 10:26:52 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2013-07-26 10:26:52 -0500
commite0ef10128b68cfae9774f6c87cc1a841cacecd8d (patch)
treed520415262df9d64ae115789ce221d37a1d4050a /phpBB/config
parent26dac64d45944dce14b33a9c82e531f01f9a623f (diff)
downloadforums-e0ef10128b68cfae9774f6c87cc1a841cacecd8d.tar
forums-e0ef10128b68cfae9774f6c87cc1a841cacecd8d.tar.gz
forums-e0ef10128b68cfae9774f6c87cc1a841cacecd8d.tar.bz2
forums-e0ef10128b68cfae9774f6c87cc1a841cacecd8d.tar.xz
forums-e0ef10128b68cfae9774f6c87cc1a841cacecd8d.zip
[ticket/11744] Group join request notification
PHPBB3-11744
Diffstat (limited to 'phpBB/config')
-rw-r--r--phpBB/config/notifications.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/phpBB/config/notifications.yml b/phpBB/config/notifications.yml
index 60aa63a854..04c5e46a9c 100644
--- a/phpBB/config/notifications.yml
+++ b/phpBB/config/notifications.yml
@@ -103,6 +103,24 @@ services:
tags:
- { name: notification.type }
+ notification.type.group_request:
+ class: phpbb_notification_type_group_request
+ 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.type.pm:
class: phpbb_notification_type_pm
scope: prototype # scope MUST be prototype for this to work!