summaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-10-13 13:54:55 +0000
committerDries Buytaert <dries@buytaert.net>2009-10-13 13:54:55 +0000
commitdd5ded8334010db30ae880cedd210881f1a97c43 (patch)
treec84349397bdd04eb0778df3b0f1c7b37486f93d8 /install.php
parentbc9a742f68a02e69a51aa5aa0b6544294697f433 (diff)
downloadbrdo-dd5ded8334010db30ae880cedd210881f1a97c43.tar.gz
brdo-dd5ded8334010db30ae880cedd210881f1a97c43.tar.bz2
- Patch #544360 by Gábor Hojtsy, ksenzee, David_Rothstein, seutje, JacobSingh, paul.lovvik, EclipseGc et al: Dashboard module 1.0. Wo-hoot!
Diffstat (limited to 'install.php')
-rw-r--r--install.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/install.php b/install.php
index 0a53ebf6a..43cd06bcb 100644
--- a/install.php
+++ b/install.php
@@ -1438,6 +1438,14 @@ function install_finished(&$install_state) {
$output .= '<p>' . st('For more information on configuring Drupal, refer to the <a href="@help">help section</a>.', array('@help' => url('admin/help'))) . '</p>';
}
+ // Rebuild the module and theme data, in case any newly-installed modules
+ // need to modify it via hook_system_info_alter(). We need to clear the
+ // theme static cache first, to make sure that the theme data is actually
+ // rebuilt.
+ drupal_static_reset('_system_get_theme_data');
+ system_get_module_data();
+ system_get_theme_data();
+
// Rebuild menu and registry to get content type links registered by the
// profile, and possibly any other menu items created through the tasks.
menu_rebuild();