diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-09-24 00:34:17 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-09-24 00:34:17 +0200 |
commit | 6d0697eb891609bf242c29f5b9567942df9343b9 (patch) | |
tree | ba04344898459f25dd5298d33149da608c6f1c4e /phpBB/install | |
parent | d5128b3e876d9d75ee12835da868b306cac102d0 (diff) | |
download | forums-6d0697eb891609bf242c29f5b9567942df9343b9.tar forums-6d0697eb891609bf242c29f5b9567942df9343b9.tar.gz forums-6d0697eb891609bf242c29f5b9567942df9343b9.tar.bz2 forums-6d0697eb891609bf242c29f5b9567942df9343b9.tar.xz forums-6d0697eb891609bf242c29f5b9567942df9343b9.zip |
[ticket/13077] Move extension module to the top of the Customise tab
PHPBB3-13077
Diffstat (limited to 'phpBB/install')
-rw-r--r-- | phpBB/install/install_install.php | 13 |
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') |