mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 12:03:21 +01:00
[ticket/11917] Move OAuth Module to the bottom while installing
PHPBB3-11917
This commit is contained in:
parent
57146ccdd1
commit
3d9b5aed46
@ -1662,6 +1662,18 @@ class install_install extends module
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
$_module->move_module_by($row, 'move_down', 4);
|
||||
|
||||
// Move OAuth module 5 down...
|
||||
$sql = 'SELECT *
|
||||
FROM ' . MODULES_TABLE . "
|
||||
WHERE module_basename = 'ucp_auth_link'
|
||||
AND module_class = 'ucp'
|
||||
AND module_mode = 'auth_link'";
|
||||
$result = $db->sql_query($sql);
|
||||
$row = $db->sql_fetchrow($result);
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
$_module->move_module_by($row, 'move_down', 5);
|
||||
}
|
||||
|
||||
// And now for the special ones
|
||||
|
Loading…
x
Reference in New Issue
Block a user