aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db/migration/data/v310/extensions.php
diff options
context:
space:
mode:
authorOliver Schramm <oliver.schramm97@gmail.com>2017-09-22 14:34:38 +0200
committerOliver Schramm <oliver.schramm97@gmail.com>2017-09-22 14:34:38 +0200
commit2592d597652242cc5e1299e3dcde53d31f35c4f1 (patch)
treef22b680051c765191c26834de43b1e4adbf0d58b /phpBB/phpbb/db/migration/data/v310/extensions.php
parentd095e620c1b36d68206139c082881b32a5f6a6e6 (diff)
downloadforums-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/extensions.php')
-rw-r--r--phpBB/phpbb/db/migration/data/v310/extensions.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/phpbb/db/migration/data/v310/extensions.php b/phpBB/phpbb/db/migration/data/v310/extensions.php
index 3171435482..2e7c5c5316 100644
--- a/phpBB/phpbb/db/migration/data/v310/extensions.php
+++ b/phpBB/phpbb/db/migration/data/v310/extensions.php
@@ -66,7 +66,9 @@ class extensions extends \phpbb\db\migration\migration
'ACP_EXTENSION_MANAGEMENT',
array(
'module_basename' => 'acp_extensions',
- 'modes' => array('main'),
+ 'module_langname' => 'ACP_EXTENSIONS',
+ 'module_mode' => 'main',
+ 'module_auth' => 'acl_a_extensions',
),
)),
array('permission.add', array('a_extensions', true, 'a_styles')),