1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-26 13:04:13 +02:00

[ticket/12191] Move notification options to bottom while installing

Move "ucp>board preferences>edit notification options" to bottom while
installing.

PHPBB3-12191
This commit is contained in:
n-aleha
2014-04-13 23:29:54 +03:00
parent cbc1c4bf31
commit 6584f5eba6

View File

@ -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