1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-10 18:54:08 +02:00

[ticket/14754] Only one email notification per topic

PHPBB3-14754
This commit is contained in:
Jakub Senko
2018-09-04 14:23:55 +02:00
committed by Marc Alexander
parent b732b4d8c8
commit a3e0117ff0
6 changed files with 101 additions and 2 deletions

View File

@@ -103,6 +103,11 @@ abstract class phpbb_tests_notification_base extends phpbb_database_test_case
$phpbb_container->setParameter('tables.notifications', 'phpbb_notifications');
$phpbb_container->setParameter('tables.user_notifications', 'phpbb_user_notifications');
$phpbb_container->setParameter('tables.notification_types', 'phpbb_notification_types');
$phpbb_container->setParameter('tables.topics_watch', 'phpbb_topics_watch');
$phpbb_container->setParameter('tables.topics_track', 'phpbb_topics_track');
$phpbb_container->setParameter('tables.posts', 'phpbb_posts');
$phpbb_container->setParameter('tables.forums_watch', 'phpbb_forums_watch');
$phpbb_container->setParameter('tables.forums_track', 'phpbb_forums_track');
$this->notifications = new phpbb_notification_manager_helper(
array(),

View File

@@ -130,6 +130,11 @@ abstract class phpbb_notification_submit_post_base extends phpbb_database_test_c
$phpbb_container->setParameter('tables.notifications', 'phpbb_notifications');
$phpbb_container->setParameter('tables.user_notifications', 'phpbb_user_notifications');
$phpbb_container->setParameter('tables.notification_types', 'phpbb_notification_types');
$phpbb_container->setParameter('tables.topics_watch', 'phpbb_topics_watch');
$phpbb_container->setParameter('tables.topics_track', 'phpbb_topics_track');
$phpbb_container->setParameter('tables.posts', 'phpbb_posts');
$phpbb_container->setParameter('tables.forums_watch', 'phpbb_forums_watch');
$phpbb_container->setParameter('tables.forums_track', 'phpbb_forums_track');
$phpbb_container->set('content.visibility', new \phpbb\content_visibility($auth, $config, $phpbb_dispatcher, $db, $user, $phpbb_root_path, $phpEx, FORUMS_TABLE, POSTS_TABLE, TOPICS_TABLE, USERS_TABLE));
$phpbb_container->compile();