mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-09 21:08:53 +00:00
[ticket/11103] UCP Notifications module added to db updater
PHPBB3-11103
This commit is contained in:
parent
c841aa34b6
commit
d07cb7b2af
1 changed files with 8 additions and 1 deletions
|
@ -2465,6 +2465,13 @@ function change_database_data(&$no_updates, $version)
|
||||||
'auth' => '',
|
'auth' => '',
|
||||||
'cat' => 'UCP_PROFILE',
|
'cat' => 'UCP_PROFILE',
|
||||||
),
|
),
|
||||||
|
'notification_options' => array(
|
||||||
|
'base' => 'ucp_notification_options',
|
||||||
|
'class' => 'ucp',
|
||||||
|
'title' => 'UCP_NOTIFICATION_OPTIONS',
|
||||||
|
'auth' => '',
|
||||||
|
'cat' => 'UCP_MAIN',
|
||||||
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
_add_modules($modules_to_install);
|
_add_modules($modules_to_install);
|
||||||
|
@ -2732,7 +2739,7 @@ function change_database_data(&$no_updates, $version)
|
||||||
// After we have calculated the timezones we can delete user_dst column from user table.
|
// After we have calculated the timezones we can delete user_dst column from user table.
|
||||||
$db_tools->sql_column_remove(USERS_TABLE, 'user_dst');
|
$db_tools->sql_column_remove(USERS_TABLE, 'user_dst');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isset($config['site_home_url']))
|
if (!isset($config['site_home_url']))
|
||||||
{
|
{
|
||||||
$config->set('site_home_url', '');
|
$config->set('site_home_url', '');
|
||||||
|
|
Loading…
Add table
Reference in a new issue