summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-04-16 13:39:42 +0000
committerDries Buytaert <dries@buytaert.net>2010-04-16 13:39:42 +0000
commita8cb00de115e0b2668dabb78d79d61802eb1cc42 (patch)
treedfd0d9e0ccd8fd44f286a37026cce8e5295a2ef9 /includes
parent2f6ba3399c6c24cdcbc369edf154b83ddca4fd60 (diff)
downloadbrdo-a8cb00de115e0b2668dabb78d79d61802eb1cc42.tar.gz
brdo-a8cb00de115e0b2668dabb78d79d61802eb1cc42.tar.bz2
- Patch #655740 by ksenzee, casey, aspilicious: fixed small JavaScript issues in the overlay module.
Diffstat (limited to 'includes')
-rw-r--r--includes/module.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/module.inc b/includes/module.inc
index 10996eb65..ec0f83a6b 100644
--- a/includes/module.inc
+++ b/includes/module.inc
@@ -369,6 +369,8 @@ function module_enable($module_list, $enable_dependencies = TRUE) {
registry_update();
// Refresh the schema to include it.
drupal_get_schema(NULL, TRUE);
+ // Clear entity cache.
+ entity_info_cache_clear();
// Now install the module if necessary.
if (drupal_get_installed_schema_version($module, TRUE) == SCHEMA_UNINSTALLED) {