From df0f9dbd4c0abcf5a3e15b869a8a492738fbff72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Fri, 11 May 2007 17:25:14 +0000 Subject: #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 --- install.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'install.php') diff --git a/install.php b/install.php index de62188db..48d32a1e2 100644 --- a/install.php +++ b/install.php @@ -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); } -- cgit v1.2.3