? 576116-cache.patch Index: domain_admin.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/domain/Attic/domain_admin.inc,v retrieving revision 1.29.2.14 diff -u -p -r1.29.2.14 domain_admin.inc --- domain_admin.inc 31 Oct 2009 19:10:30 -0000 1.29.2.14 +++ domain_admin.inc 31 Oct 2009 19:27:10 -0000 @@ -1009,6 +1009,8 @@ function domain_batch_form_submit($form_ } break; } + // Clear the cache. + cache_clear_all(); drupal_set_message(t('Settings have been updated successfully.')); } Index: domain_conf/domain_conf.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/domain/domain_conf/domain_conf.module,v retrieving revision 1.18.2.8 diff -u -p -r1.18.2.8 domain_conf.module --- domain_conf/domain_conf.module 31 May 2009 18:26:44 -0000 1.18.2.8 +++ domain_conf/domain_conf.module 31 Oct 2009 19:27:11 -0000 @@ -275,6 +275,8 @@ function domain_conf_form_submit($form_i $sql = "INSERT INTO {domain_conf} VALUES (%d, %b)"; db_query($sql, $form_values['domain_id'], serialize($settings)); } + // Clear the cache. + cache_clear_all(); drupal_set_message(t('Domain options saved successfully.')); } Index: domain_content/domain_content.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/domain/domain_content/domain_content.module,v retrieving revision 1.15.2.6 diff -u -p -r1.15.2.6 domain_content.module --- domain_content/domain_content.module 13 Jun 2009 20:24:32 -0000 1.15.2.6 +++ domain_content/domain_content.module 31 Oct 2009 19:27:11 -0000 @@ -397,6 +397,8 @@ function domain_content_update_nodes($fo } } } + // Clear the cache. + cache_clear_all(); } /** @@ -426,17 +428,6 @@ function domain_content_node_operations_ } /** - * Implement hook_domainupdate() - */ -function domain_content_domainupdate($op, $domain = array(), $edit = array()) { - // We rebuild the menu, since the domain records have changed. - // Clear the page cache, so that changed menus are reflected for anonymous users. - cache_clear_all('*', 'cache_page', TRUE); - // Also clear the menu cache. - cache_clear_all('*', 'cache_menu', TRUE); -} - -/** * Replaces the default theme function for the node administration form. * * @param $form Index: domain_prefix/domain_prefix.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/domain/domain_prefix/domain_prefix.module,v retrieving revision 1.12.2.5 diff -u -p -r1.12.2.5 domain_prefix.module --- domain_prefix/domain_prefix.module 31 May 2009 18:26:44 -0000 1.12.2.5 +++ domain_prefix/domain_prefix.module 31 Oct 2009 19:27:12 -0000 @@ -592,6 +592,8 @@ function domain_prefix_form_submit($form } } } + // Clear the cache. + cache_clear_all(); } /** Index: domain_theme/domain_theme.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/domain/domain_theme/domain_theme.module,v retrieving revision 1.5.2.5 diff -u -p -r1.5.2.5 domain_theme.module --- domain_theme/domain_theme.module 31 May 2009 18:26:44 -0000 1.5.2.5 +++ domain_theme/domain_theme.module 31 Oct 2009 19:27:13 -0000 @@ -111,6 +111,8 @@ function domain_theme_reset_form($domain */ function domain_theme_reset_form_submit($form_id, $form_values) { db_query("DELETE FROM {domain_theme} WHERE domain_id = %d", $form_values['domain_id']); + // Clear the cache. + cache_clear_all(); drupal_set_message(t('Domain theme settings have been reset.')); } Index: domain_theme/domain_theme_form.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/domain/domain_theme/Attic/domain_theme_form.inc,v retrieving revision 1.1.2.2 diff -u -p -r1.1.2.2 domain_theme_form.inc --- domain_theme/domain_theme_form.inc 31 May 2009 18:26:44 -0000 1.1.2.2 +++ domain_theme/domain_theme_form.inc 31 Oct 2009 19:27:13 -0000 @@ -74,4 +74,6 @@ function domain_theme_submit($form_id, $ else { db_query("UPDATE {domain_theme} SET theme = '%s', settings = %b WHERE domain_id = %d", $theme, $settings, $id); } + // Clear the cache. + cache_clear_all(); }