Commit df0f9dbd authored by Gábor Hojtsy's avatar Gábor Hojtsy

#141637: add back menu_rebuild() to allow for clean URL check, and document...

#141637: add back menu_rebuild() to allow for clean URL check, and document the need for both menu_rebuild() calls, so we will not make this mistake in the future
parent 0c46b77c
......@@ -584,6 +584,8 @@ function install_tasks($profile, $task) {
if ($task == 'configure') {
drupal_set_title(st('Configure site'));
// Build menu to allow clean URL check.
menu_rebuild();
// We break the form up so we can tell when it's been successfully
// submitted.
......@@ -633,6 +635,8 @@ function install_tasks($profile, $task) {
// The end of the install process. Remember profile used.
if ($task == 'done') {
// Rebuild menu to get content type links registered by the profile,
// and possibly any other menu items created through the tasks.
menu_rebuild();
variable_set('install_profile', $profile);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment