summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-11-26 05:54:48 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-11-26 05:54:48 +0000
commitd3de3672f18c86f060bc559da3c5bd4f14833071 (patch)
treebf4419f2370d691e723a1d4f60cc9298ced2be40 /modules/system
parent37339758d1611af9783888c1f837d1c628b3bab1 (diff)
downloadbrdo-d3de3672f18c86f060bc559da3c5bd4f14833071.tar.gz
brdo-d3de3672f18c86f060bc559da3c5bd4f14833071.tar.bz2
#642612 by yched: Add clean way to reset entity_info() cache.
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/system.admin.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc
index 80e9c0bea..90930c298 100644
--- a/modules/system/system.admin.inc
+++ b/modules/system/system.admin.inc
@@ -1055,7 +1055,7 @@ function system_modules_submit($form, &$form_state) {
node_types_rebuild();
menu_rebuild();
cache_clear_all('schema', 'cache');
- cache_clear_all('entity_info', 'cache');
+ entity_info_cache_clear();
drupal_clear_css_cache();
drupal_clear_js_cache();