1
0
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:
Oliver Schramm
2017-09-22 14:34:38 +02:00
parent d095e620c1
commit 2592d59765
9 changed files with 83 additions and 18 deletions

View File

@@ -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)),