aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db/migration/data/v310/notifications.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2017-12-28 10:50:55 +0100
committerMarc Alexander <admin@m-a-styles.de>2017-12-28 10:50:55 +0100
commitd90680d685cf3bf5e33d834ef477dd0855946544 (patch)
tree08f2be55cb233c7ef44241fe5558fb734f44c1cc /phpBB/phpbb/db/migration/data/v310/notifications.php
parent7c0ff6ddd4380a099af7d74e98c47ba95dd562be (diff)
parent2b16b7cada85492b6312d126afa71a8a2e50a2a3 (diff)
downloadforums-d90680d685cf3bf5e33d834ef477dd0855946544.tar
forums-d90680d685cf3bf5e33d834ef477dd0855946544.tar.gz
forums-d90680d685cf3bf5e33d834ef477dd0855946544.tar.bz2
forums-d90680d685cf3bf5e33d834ef477dd0855946544.tar.xz
forums-d90680d685cf3bf5e33d834ef477dd0855946544.zip
Merge pull request #4971 from Elsensee/ticket/15339
[ticket/15339] Use manual method when adding modules
Diffstat (limited to 'phpBB/phpbb/db/migration/data/v310/notifications.php')
-rw-r--r--phpBB/phpbb/db/migration/data/v310/notifications.php7
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)),