aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config
diff options
context:
space:
mode:
authorDavid King <imkingdavid@gmail.com>2013-09-12 21:25:00 -0700
committerDavid King <imkingdavid@gmail.com>2013-09-12 21:25:00 -0700
commitf22b959257deba0f00a4330df9103c47673032b8 (patch)
tree36ca640a1a9744c0a17260e85a25e159b9421de3 /phpBB/config
parentd62973867511d4f2b337a4c1cf3654ee20a2a107 (diff)
parent32b92547400c14a402f64463661ce7c1b44e81b3 (diff)
downloadforums-f22b959257deba0f00a4330df9103c47673032b8.tar
forums-f22b959257deba0f00a4330df9103c47673032b8.tar.gz
forums-f22b959257deba0f00a4330df9103c47673032b8.tar.bz2
forums-f22b959257deba0f00a4330df9103c47673032b8.tar.xz
forums-f22b959257deba0f00a4330df9103c47673032b8.zip
Merge pull request #1620 from EXreaction/ticket/11745
Group join approved notification
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 04c5e46a9c..fc687cbd19 100644
--- a/phpBB/config/notifications.yml
+++ b/phpBB/config/notifications.yml
@@ -121,6 +121,24 @@ services:
tags:
- { name: notification.type }
+ notification.type.group_request_approved:
+ class: phpbb_notification_type_group_request_approved
+ 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!