mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/11444] Moving the in-board notifications to a method class
Currently the in-board method for the notifications is hardcoded and cannot be disabled. This method should be in his own class extending `phpbb\notification\method\method_interface`. It also add the possibility, for each method, to be enabled by default (ie: no entry in the DB => notification enabled). https://tracker.phpbb.com/browse/PHPBB3-11444 https://tracker.phpbb.com/browse/PHPBB3-11967 PHPBB3-11444
This commit is contained in:
committed by
Tristan Darricau
parent
58d1d37c16
commit
be0d4e20d4
@@ -21,15 +21,15 @@ class phpbb_functional_notification_test extends phpbb_functional_test_case
|
||||
return array(
|
||||
// Rows inserted by phpBB/install/schemas/schema_data.sql
|
||||
// Also see PHPBB3-11460
|
||||
array('notification.type.post_notification', true),
|
||||
array('notification.type.topic_notification', true),
|
||||
array('notification.type.post_notification.method.board', true),
|
||||
array('notification.type.topic_notification.method.board', true),
|
||||
array('notification.type.post_notification.method.email', true),
|
||||
array('notification.type.topic_notification.method.email', true),
|
||||
|
||||
// Default behaviour for in-board notifications:
|
||||
// If user did not opt-out, in-board notifications are on.
|
||||
array('notification.type.bookmark_notification', true),
|
||||
array('notification.type.quote_notification', true),
|
||||
array('notification.type.bookmark_notification.method.board', true),
|
||||
array('notification.type.quote_notification.method.board', true),
|
||||
|
||||
// Default behaviour for email notifications:
|
||||
// If user did not opt-in, email notifications are off.
|
||||
|
Reference in New Issue
Block a user