Commit 96ccc728 authored by catch's avatar catch
Browse files

Issue #1760786 by sun: Follow up for moving entity system 'back' into a Drupal\Core component.

parent 768dfcd9
......@@ -475,8 +475,8 @@ function module_enable($module_list, $enable_dependencies = TRUE) {
watchdog('system', '%module module installed.', array('%module' => $module), WATCHDOG_INFO);
}
// Allow modules to react prior to the enabling of a module.
entity_info_cache_clear();
// Allow modules to react prior to the enabling of a module.
module_invoke_all('modules_preenable', array($module));
// Enable the module.
......
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