mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-20 18:28:55 +00:00
Merge branch 'develop-ascraeus' into develop
* develop-ascraeus: [ticket/12191] Move notification options to bottom while installing
This commit is contained in:
commit
f63b2a2569
1 changed files with 12 additions and 0 deletions
|
@ -1662,6 +1662,18 @@ class install_install extends module
|
|||
$db->sql_freeresult($result);
|
||||
|
||||
$_module->move_module_by($row, 'move_down', 4);
|
||||
|
||||
// Move notification options module 4 down...
|
||||
$sql = 'SELECT *
|
||||
FROM ' . MODULES_TABLE . "
|
||||
WHERE module_basename = 'ucp_notifications'
|
||||
AND module_class = 'ucp'
|
||||
AND module_mode = 'notification_options'";
|
||||
$result = $db->sql_query($sql);
|
||||
$row = $db->sql_fetchrow($result);
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
$_module->move_module_by($row, 'move_down', 4);
|
||||
}
|
||||
|
||||
// And now for the special ones
|
||||
|
|
Loading…
Add table
Reference in a new issue