mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +02:00
[ticket/11031] Convert user notification options with default settings
PHPBB3-11031
This commit is contained in:
@@ -876,7 +876,8 @@ if (!$get_info)
|
|||||||
'autoincrement' => 'user_id',
|
'autoincrement' => 'user_id',
|
||||||
'query_first' => array(
|
'query_first' => array(
|
||||||
array('target', 'DELETE FROM ' . USERS_TABLE . ' WHERE user_id <> ' . ANONYMOUS),
|
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' => '
|
'execute_last' => '
|
||||||
@@ -949,6 +950,8 @@ if (!$get_info)
|
|||||||
array('user_sig_bbcode_bitfield', '', 'get_bbcode_bitfield'),
|
array('user_sig_bbcode_bitfield', '', 'get_bbcode_bitfield'),
|
||||||
array('', 'users.user_regdate AS post_time', ''),
|
array('', 'users.user_regdate AS post_time', ''),
|
||||||
|
|
||||||
|
array('', 'users.user_notify_pm', 'phpbb_add_notification_options'),
|
||||||
|
|
||||||
'where' => 'users.user_id <> -1',
|
'where' => 'users.user_id <> -1',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Reference in New Issue
Block a user