mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 13:58:54 +00:00
[ticket/11103] A couple to-dos
PHPBB3-11103
This commit is contained in:
parent
cbe0d478f1
commit
c841aa34b6
2 changed files with 1 additions and 5 deletions
|
@ -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);
|
||||
|
|
|
@ -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'] . '
|
||||
|
|
Loading…
Add table
Reference in a new issue