aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/database_update.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2010-05-28 13:03:56 +0200
committerJoas Schilling <nickvergessen@gmx.de>2010-05-28 13:03:56 +0200
commit160d1bfd07ce016e34b52588bcbf4c7c71bd7fb0 (patch)
tree298d56d2bc3ce4a976fb66e413512afe87a15d1a /phpBB/install/database_update.php
parent6d7e30ae995fe0791c2bced0974b0445fa769ee9 (diff)
downloadforums-160d1bfd07ce016e34b52588bcbf4c7c71bd7fb0.tar
forums-160d1bfd07ce016e34b52588bcbf4c7c71bd7fb0.tar.gz
forums-160d1bfd07ce016e34b52588bcbf4c7c71bd7fb0.tar.bz2
forums-160d1bfd07ce016e34b52588bcbf4c7c71bd7fb0.tar.xz
forums-160d1bfd07ce016e34b52588bcbf4c7c71bd7fb0.zip
[ticket/9578] ACP Posting tab is missing "Post settings" module.
PHPBB3-9578
Diffstat (limited to 'phpBB/install/database_update.php')
-rw-r--r--phpBB/install/database_update.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php
index 47d261dc46..917a5401e5 100644
--- a/phpBB/install/database_update.php
+++ b/phpBB/install/database_update.php
@@ -1684,6 +1684,19 @@ function change_database_data(&$no_updates, $version)
}
$db->sql_freeresult($result);
+ // Install modules
+ $modules_to_install = array(
+ 'post' => array(
+ 'base' => 'board',
+ 'class' => 'acp',
+ 'title' => 'ACP_POST_SETTINGS',
+ 'auth' => 'acl_a_board',
+ 'cat' => 'ACP_MESSAGES',
+ 'after' => array('message', 'ACP_MESSAGE_SETTINGS')
+ ),
+ );
+
+ _add_modules($modules_to_install);
$no_updates = false;
break;