mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/15339] Use manual method when adding modules
This will fix cases where the module is deleted in later versions and the migrator thus cannot retrieve the info. PHPBB3-15339
This commit is contained in:
@@ -85,7 +85,9 @@ class notifications extends \phpbb\db\migration\migration
|
||||
'UCP_MAIN',
|
||||
array(
|
||||
'module_basename' => 'ucp_notifications',
|
||||
'modes' => array('notification_list'),
|
||||
'module_langname' => 'UCP_NOTIFICATION_LIST',
|
||||
'module_mode' => 'notification_list',
|
||||
'module_auth' => 'cfg_allow_board_notifications',
|
||||
),
|
||||
)),
|
||||
array('module.add', array(
|
||||
@@ -93,7 +95,8 @@ class notifications extends \phpbb\db\migration\migration
|
||||
'UCP_PREFS',
|
||||
array(
|
||||
'module_basename' => 'ucp_notifications',
|
||||
'modes' => array('notification_options'),
|
||||
'module_langname' => 'UCP_NOTIFICATION_OPTIONS',
|
||||
'module_mode' => 'notification_options',
|
||||
),
|
||||
)),
|
||||
array('config.add', array('load_notifications', 1)),
|
||||
|
Reference in New Issue
Block a user