1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-13 20:28:44 +01:00

[ticket/11031] Convert user notification options with default settings

PHPBB3-11031
This commit is contained in:
Joas Schilling 2013-11-02 13:30:29 +01:00
parent cb8cd50495
commit 481d25d885

View File

@ -876,7 +876,8 @@ if (!$get_info)
'autoincrement' => 'user_id',
'query_first' => array(
array('target', 'DELETE FROM ' . USERS_TABLE . ' WHERE user_id <> ' . ANONYMOUS),
array('target', $convert->truncate_statement . BOTS_TABLE)
array('target', $convert->truncate_statement . BOTS_TABLE),
array('target', $convert->truncate_statement . USER_NOTIFICATIONS_TABLE),
),
'execute_last' => '
@ -949,6 +950,8 @@ if (!$get_info)
array('user_sig_bbcode_bitfield', '', 'get_bbcode_bitfield'),
array('', 'users.user_regdate AS post_time', ''),
array('', 'users.user_notify_pm', 'phpbb_add_notification_options'),
'where' => 'users.user_id <> -1',
),
),