diff options
author | Nathan Guse <nathaniel.guse@gmail.com> | 2012-10-29 18:09:20 -0500 |
---|---|---|
committer | Nathan Guse <nathaniel.guse@gmail.com> | 2012-10-29 18:09:20 -0500 |
commit | e549b7663da47d7518b93074e513c7e1d034bf52 (patch) | |
tree | de8b250ab18d550e597c7d093a0633a6f2004bed /tests/notification/ext/test | |
parent | eddb56f8426161923d8870ca5f8f899c342075db (diff) | |
download | forums-e549b7663da47d7518b93074e513c7e1d034bf52.tar forums-e549b7663da47d7518b93074e513c7e1d034bf52.tar.gz forums-e549b7663da47d7518b93074e513c7e1d034bf52.tar.bz2 forums-e549b7663da47d7518b93074e513c7e1d034bf52.tar.xz forums-e549b7663da47d7518b93074e513c7e1d034bf52.zip |
[ticket/11103] Set basic notifications to be enabled by default
Now, if there is no row for the user in the user_notifications table,
the user will receive basic notifications. If the user wishes to not
receive notifications, a row must be added with notify = 0.
For other methods besides the basic (e.g. email, jabber) a row must
still be added with notify = 1 for them to receive notifications
PHPBB3-11103
Diffstat (limited to 'tests/notification/ext/test')
-rw-r--r-- | tests/notification/ext/test/notification/type/test.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/notification/ext/test/notification/type/test.php b/tests/notification/ext/test/notification/type/test.php index e76bdb5e0c..34149484df 100644 --- a/tests/notification/ext/test/notification/type/test.php +++ b/tests/notification/ext/test/notification/type/test.php @@ -29,7 +29,7 @@ class phpbb_ext_test_notification_type_test extends phpbb_notification_type_base public function find_users_for_notification($post, $options = array()) { - return $this->_find_users_for_notification(0, $options); + return $this->check_user_notification_options(array(0), $options); } public function create_insert_array($post, $pre_create_data = array()) |