[ticket/11103] A couple to-dos

PHPBB3-11103
This commit is contained in:
Nathan Guse 2012-09-27 18:48:13 -05:00
parent cbe0d478f1
commit c841aa34b6
2 changed files with 1 additions and 5 deletions

View file

@ -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);

View file

@ -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'] . '