1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-09 02:06:32 +02:00

[ticket/11103] Inject table prefix to notifications system instead of constants

PHPBB3-11103
This commit is contained in:
Nathaniel Guse
2012-11-09 08:48:41 -06:00
parent 6a0f6833e6
commit 6c8c54d4d2
7 changed files with 81 additions and 38 deletions

View File

@@ -12,6 +12,8 @@ services:
- @config
- %core.root_path%
- %core.php_ext%
- %tables.notifications%
- %tables.user_notifications%
tags:
- { name: notification.type }
@@ -28,6 +30,8 @@ services:
- @config
- %core.root_path%
- %core.php_ext%
- %tables.notifications%
- %tables.user_notifications%
tags:
- { name: notification.type }
@@ -44,6 +48,8 @@ services:
- @config
- %core.root_path%
- %core.php_ext%
- %tables.notifications%
- %tables.user_notifications%
tags:
- { name: notification.type }
@@ -60,6 +66,8 @@ services:
- @config
- %core.root_path%
- %core.php_ext%
- %tables.notifications%
- %tables.user_notifications%
tags:
- { name: notification.type }
@@ -76,6 +84,8 @@ services:
- @config
- %core.root_path%
- %core.php_ext%
- %tables.notifications%
- %tables.user_notifications%
tags:
- { name: notification.type }
@@ -92,6 +102,8 @@ services:
- @config
- %core.root_path%
- %core.php_ext%
- %tables.notifications%
- %tables.user_notifications%
tags:
- { name: notification.type }
@@ -108,6 +120,8 @@ services:
- @config
- %core.root_path%
- %core.php_ext%
- %tables.notifications%
- %tables.user_notifications%
tags:
- { name: notification.type }
@@ -124,6 +138,8 @@ services:
- @config
- %core.root_path%
- %core.php_ext%
- %tables.notifications%
- %tables.user_notifications%
tags:
- { name: notification.type }
@@ -140,6 +156,8 @@ services:
- @config
- %core.root_path%
- %core.php_ext%
- %tables.notifications%
- %tables.user_notifications%
tags:
- { name: notification.type }
@@ -156,6 +174,8 @@ services:
- @config
- %core.root_path%
- %core.php_ext%
- %tables.notifications%
- %tables.user_notifications%
tags:
- { name: notification.type }
@@ -172,6 +192,8 @@ services:
- @config
- %core.root_path%
- %core.php_ext%
- %tables.notifications%
- %tables.user_notifications%
tags:
- { name: notification.type }
@@ -188,6 +210,8 @@ services:
- @config
- %core.root_path%
- %core.php_ext%
- %tables.notifications%
- %tables.user_notifications%
tags:
- { name: notification.type }
@@ -204,6 +228,8 @@ services:
- @config
- %core.root_path%
- %core.php_ext%
- %tables.notifications%
- %tables.user_notifications%
tags:
- { name: notification.type }
@@ -220,6 +246,8 @@ services:
- @config
- %core.root_path%
- %core.php_ext%
- %tables.notifications%
- %tables.user_notifications%
tags:
- { name: notification.type }
@@ -236,6 +264,8 @@ services:
- @config
- %core.root_path%
- %core.php_ext%
- %tables.notifications%
- %tables.user_notifications%
tags:
- { name: notification.type }

View File

@@ -103,6 +103,8 @@ services:
- @config
- %core.root_path%
- %core.php_ext%
- %tables.notifications%
- %tables.user_notifications%
processor.ext:
class: phpbb_di_processor_ext

View File

@@ -1,3 +1,5 @@
parameters:
tables.config: %core.table_prefix%config
tables.ext: %core.table_prefix%ext
tables.notifications: %core.table_prefix%notifications
tables.user_notifications: %core.table_prefix%user_notifications