diff options
| author | Marc Alexander <admin@m-a-styles.de> | 2017-12-28 10:50:55 +0100 |
|---|---|---|
| committer | Marc Alexander <admin@m-a-styles.de> | 2017-12-28 10:50:55 +0100 |
| commit | d90680d685cf3bf5e33d834ef477dd0855946544 (patch) | |
| tree | 08f2be55cb233c7ef44241fe5558fb734f44c1cc /phpBB/phpbb/db/migration/data/v310/dev.php | |
| parent | 7c0ff6ddd4380a099af7d74e98c47ba95dd562be (diff) | |
| parent | 2b16b7cada85492b6312d126afa71a8a2e50a2a3 (diff) | |
| download | forums-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/dev.php')
| -rw-r--r-- | phpBB/phpbb/db/migration/data/v310/dev.php | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/phpBB/phpbb/db/migration/data/v310/dev.php b/phpBB/phpbb/db/migration/data/v310/dev.php index 250258eea7..9cc953ad8d 100644 --- a/phpBB/phpbb/db/migration/data/v310/dev.php +++ b/phpBB/phpbb/db/migration/data/v310/dev.php @@ -125,7 +125,9 @@ class dev extends \phpbb\db\migration\container_aware_migration 'ACP_GROUPS', array( 'module_basename' => 'acp_groups', - 'modes' => array('position'), + 'module_langname' => 'ACP_GROUPS_POSITION', + 'module_mode' => 'position', + 'module_auth' => 'acl_a_group', ), )), array('module.add', array( @@ -133,7 +135,9 @@ class dev extends \phpbb\db\migration\container_aware_migration 'ACP_ATTACHMENTS', array( 'module_basename' => 'acp_attachments', - 'modes' => array('manage'), + 'module_langname' => 'ACP_MANAGE_ATTACHMENTS', + 'module_mode' => 'manage', + 'module_auth' => 'acl_a_attach', ), )), array('module.add', array( @@ -141,7 +145,19 @@ class dev extends \phpbb\db\migration\container_aware_migration 'ACP_STYLE_MANAGEMENT', array( 'module_basename' => 'acp_styles', - 'modes' => array('install', 'cache'), + 'module_langname' => 'ACP_STYLES_INSTALL', + 'module_mode' => 'install', + 'module_auth' => 'acl_a_styles', + ), + )), + array('module.add', array( + 'acp', + 'ACP_STYLE_MANAGEMENT', + array( + 'module_basename' => 'acp_styles', + 'module_langname' => 'ACP_STYLES_CACHE', + 'module_mode' => 'cache', + 'module_auth' => 'acl_a_styles', ), )), array('module.add', array( @@ -149,7 +165,8 @@ class dev extends \phpbb\db\migration\container_aware_migration 'UCP_PROFILE', array( 'module_basename' => 'ucp_profile', - 'modes' => array('autologin_keys'), + 'module_langname' => 'UCP_PROFILE_AUTOLOGIN_KEYS', + 'module_mode' => 'autologin_keys', ), )), // Module will be renamed later |
