diff options
| author | Oliver Schramm <oliver.schramm97@gmail.com> | 2017-09-22 14:34:38 +0200 |
|---|---|---|
| committer | Oliver Schramm <oliver.schramm97@gmail.com> | 2017-09-22 14:34:38 +0200 |
| commit | 2592d597652242cc5e1299e3dcde53d31f35c4f1 (patch) | |
| tree | f22b680051c765191c26834de43b1e4adbf0d58b /phpBB/phpbb/db/migration/data/v310/notifications.php | |
| parent | d095e620c1b36d68206139c082881b32a5f6a6e6 (diff) | |
| download | forums-2592d597652242cc5e1299e3dcde53d31f35c4f1.tar forums-2592d597652242cc5e1299e3dcde53d31f35c4f1.tar.gz forums-2592d597652242cc5e1299e3dcde53d31f35c4f1.tar.bz2 forums-2592d597652242cc5e1299e3dcde53d31f35c4f1.tar.xz forums-2592d597652242cc5e1299e3dcde53d31f35c4f1.zip | |
[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
Diffstat (limited to 'phpBB/phpbb/db/migration/data/v310/notifications.php')
| -rw-r--r-- | phpBB/phpbb/db/migration/data/v310/notifications.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/phpBB/phpbb/db/migration/data/v310/notifications.php b/phpBB/phpbb/db/migration/data/v310/notifications.php index f4d012b5ac..789aaa3ba9 100644 --- a/phpBB/phpbb/db/migration/data/v310/notifications.php +++ b/phpBB/phpbb/db/migration/data/v310/notifications.php @@ -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)), |
