aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2014-10-06 23:35:35 +0200
committerAndreas Fischer <bantu@phpbb.com>2014-10-06 23:35:35 +0200
commit01e200d49acf65b4a69440e7b41b883c5539a903 (patch)
tree9d124d8f85cfde0ad8df5b8d1fd9b8cc2227ed39 /phpBB/install
parent8d9e6653b4d7b51896034853898452f2db65fa5c (diff)
parent38ac0bcc8ea1a9fbaf81993a87d6230264de8d33 (diff)
downloadforums-01e200d49acf65b4a69440e7b41b883c5539a903.tar
forums-01e200d49acf65b4a69440e7b41b883c5539a903.tar.gz
forums-01e200d49acf65b4a69440e7b41b883c5539a903.tar.bz2
forums-01e200d49acf65b4a69440e7b41b883c5539a903.tar.xz
forums-01e200d49acf65b4a69440e7b41b883c5539a903.zip
Merge branch 'develop-ascraeus' into develop
* develop-ascraeus: [ticket/13077] Move extension module to the top of the Customise tab
Diffstat (limited to 'phpBB/install')
-rw-r--r--phpBB/install/install_install.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/phpBB/install/install_install.php b/phpBB/install/install_install.php
index 20b211dde9..9867c56a3f 100644
--- a/phpBB/install/install_install.php
+++ b/phpBB/install/install_install.php
@@ -1654,6 +1654,19 @@ class install_install extends module
$db->sql_freeresult($result);
$_module->move_module_by($row, 'move_up', 5);
+
+ // Move extension management module 1 up...
+ $sql = 'SELECT *
+ FROM ' . MODULES_TABLE . "
+ WHERE module_langname = 'ACP_EXTENSION_MANAGEMENT'
+ AND module_class = 'acp'
+ AND module_mode = ''
+ AND module_basename = ''";
+ $result = $db->sql_query($sql);
+ $row = $db->sql_fetchrow($result);
+ $db->sql_freeresult($result);
+
+ $_module->move_module_by($row, 'move_up', 1);
}
if ($module_class == 'mcp')