Index: views_cache.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/views/views_cache.inc,v retrieving revision 1.2.2.15 diff -u -p -r1.2.2.15 views_cache.inc --- views_cache.inc 5 May 2007 02:40:18 -0000 1.2.2.15 +++ views_cache.inc 8 May 2007 19:16:31 -0000 @@ -77,12 +77,14 @@ function _views_get_tables($full = false } else { $table_data = module_invoke_all('views_tables'); - $views_tables['tables'] = $table_data; + // allow modules to alter the definitions supplied others foreach (module_implements('views_tables_alter') as $module) { $function = $module . '_views_tables_alter'; $function($table_data); } + + $views_tables['tables'] = $table_data; foreach ($table_data as $name => $table) { if (is_array($table['filters'])) {