Skip to content

Commit

Permalink
Merge branch 'develop-ascraeus' into develop
Browse files Browse the repository at this point in the history
* develop-ascraeus:
  [ticket/12191] Move notification options to bottom while installing
  • Loading branch information
nickvergessen committed Apr 15, 2014
2 parents ea7d897 + e50b6b5 commit f63b2a2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions phpBB/install/install_install.php
Expand Up @@ -1662,6 +1662,18 @@ function add_modules($mode, $sub)
$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
Expand Down

0 comments on commit f63b2a2

Please sign in to comment.