aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2013-07-27 17:02:45 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2013-07-27 17:02:45 -0500
commit46b4a405b1563c2fe15dad34c9ff2843271cd8f8 (patch)
treecbf56e8aa6ff234bf8b21d94d6cb7ce1b99738e7 /phpBB/config
parentb213be84a7ff0f947de0025dcc4620142edf226b (diff)
downloadforums-46b4a405b1563c2fe15dad34c9ff2843271cd8f8.tar
forums-46b4a405b1563c2fe15dad34c9ff2843271cd8f8.tar.gz
forums-46b4a405b1563c2fe15dad34c9ff2843271cd8f8.tar.bz2
forums-46b4a405b1563c2fe15dad34c9ff2843271cd8f8.tar.xz
forums-46b4a405b1563c2fe15dad34c9ff2843271cd8f8.zip
[ticket/11745] Group request approved notification
PHPBB3-11745
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!