aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/install_install.php
diff options
context:
space:
mode:
authorBruno Ais <brunoaiss@gmail.com>2012-02-04 17:29:10 +0000
committerBruno Ais <brunoaiss@gmail.com>2012-11-26 17:44:41 +0000
commit24939c822529f179a436abfa4e4e2f1b5bcb53ec (patch)
tree6809eeeee7ed2946baf9b7937651cdb40f5d8ac3 /phpBB/install/install_install.php
parentb453f359ff6dab58b0eaf94548c4e58110fb02ec (diff)
downloadforums-24939c822529f179a436abfa4e4e2f1b5bcb53ec.tar
forums-24939c822529f179a436abfa4e4e2f1b5bcb53ec.tar.gz
forums-24939c822529f179a436abfa4e4e2f1b5bcb53ec.tar.bz2
forums-24939c822529f179a436abfa4e4e2f1b5bcb53ec.tar.xz
forums-24939c822529f179a436abfa4e4e2f1b5bcb53ec.zip
[ticket/10601]Move Inbox the default in private messages module
Did exactly as the answer here asked: http://area51.phpbb.com/phpBB/viewtopic.php?p=234111 PHPBB3-10601
Diffstat (limited to 'phpBB/install/install_install.php')
-rw-r--r--phpBB/install/install_install.php17
1 files changed, 15 insertions, 2 deletions
diff --git a/phpBB/install/install_install.php b/phpBB/install/install_install.php
index f80b8b5661..d4eba6eefd 100644
--- a/phpBB/install/install_install.php
+++ b/phpBB/install/install_install.php
@@ -1478,8 +1478,13 @@ class install_install extends module
foreach ($this->module_categories[$module_class] as $cat_name => $subs)
{
+ $basename = '';
+ if (isset($module_categories_basenames[$cat_name]))
+ {
+ $basename = $module_categories_basenames[$cat_name];
+ }
$module_data = array(
- 'module_basename' => '',
+ 'module_basename' => $basename,
'module_enabled' => 1,
'module_display' => 1,
'parent_id' => 0,
@@ -1507,8 +1512,13 @@ class install_install extends module
{
foreach ($subs as $level2_name)
{
+ $basename = '';
+ if (isset($module_categories_basenames[$level2_name]))
+ {
+ $basename = $module_categories_basenames[$level2_name];
+ }
$module_data = array(
- 'module_basename' => '',
+ 'module_basename' => $basename,
'module_enabled' => 1,
'module_display' => 1,
'parent_id' => (int) $categories[$cat_name]['id'],
@@ -2115,6 +2125,9 @@ class install_install extends module
'UCP_ZEBRA' => null,
),
);
+ var $module_categories_basenames = array(
+ 'UCP_PM' => 'ucp_pm',
+ );
var $module_extras = array(
'acp' => array(