diff options
author | Nathan Guse <nathaniel.guse@gmail.com> | 2012-09-27 18:48:13 -0500 |
---|---|---|
committer | Nathan Guse <nathaniel.guse@gmail.com> | 2012-09-27 18:48:13 -0500 |
commit | c841aa34b64f3c83dfa8c637f2b20ae472c6de4d (patch) | |
tree | be339e30673c436b044958fc42e118add16eb574 | |
parent | cbe0d478f1d984560b588dc0ef0cd4bec233263f (diff) | |
download | forums-c841aa34b64f3c83dfa8c637f2b20ae472c6de4d.tar forums-c841aa34b64f3c83dfa8c637f2b20ae472c6de4d.tar.gz forums-c841aa34b64f3c83dfa8c637f2b20ae472c6de4d.tar.bz2 forums-c841aa34b64f3c83dfa8c637f2b20ae472c6de4d.tar.xz forums-c841aa34b64f3c83dfa8c637f2b20ae472c6de4d.zip |
[ticket/11103] A couple to-dos
PHPBB3-11103
-rw-r--r-- | phpBB/includes/notifications/method/email.php | 2 | ||||
-rw-r--r-- | phpBB/includes/notifications/type/post.php | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/phpBB/includes/notifications/method/email.php b/phpBB/includes/notifications/method/email.php index a1ca955ee1..ebfc0c7c71 100644 --- a/phpBB/includes/notifications/method/email.php +++ b/phpBB/includes/notifications/method/email.php @@ -89,7 +89,7 @@ class phpbb_notifications_method_email extends phpbb_notifications_method_base $messenger->assign_vars(array_merge(array( 'USERNAME' => $user['username'], - 'U_NOTIFICATION_SETTINGS' => generate_board_url() . '/ucp.' . $this->php_ext . '?i=notifications', // todo Update URL + 'U_NOTIFICATION_SETTINGS' => generate_board_url() . '/ucp.' . $this->php_ext . '?i=ucp_notifications', ), $notification->get_email_template_variables())); $messenger->send($this->notify_method); diff --git a/phpBB/includes/notifications/type/post.php b/phpBB/includes/notifications/type/post.php index bf41d2b05e..e47ddafe1d 100644 --- a/phpBB/includes/notifications/type/post.php +++ b/phpBB/includes/notifications/type/post.php @@ -86,10 +86,6 @@ class phpbb_notifications_type_post extends phpbb_notifications_type_base $users = array(); - /* todo - * find what type of notification they'd like to receive - * make sure not to send duplicate notifications - */ $sql = 'SELECT user_id FROM ' . TOPICS_WATCH_TABLE . ' WHERE topic_id = ' . (int) $post['topic_id'] . ' |