--- advcache.module.orig 2009-04-14 10:20:41.000000000 +0200 +++ advcache.module 2009-04-14 11:02:25.000000000 +0200 @@ -12,7 +12,7 @@ $keys[] = 'term::'. $object['tid']; if ($op == 'insert' || $op == 'delete' || $op == 'update') { cache_clear_all('*', 'cache_taxonomy', TRUE); - if (module_exists('forum') && $object['vid'] == _forum_get_vid()) { + if (module_exists('forum') && $object['vid'] == variable_get('forum_nav_vocabulary', '')) { cache_clear_all('*', 'cache_forum', TRUE); } } @@ -23,7 +23,7 @@ $keys[] = 'vocabulary::'. $object['vid']; if ($op == 'insert' || $op == 'delete' || $op == 'update') { - if (module_exists('forum') && $object['vid'] == _forum_get_vid()) { + if (module_exists('forum') && $object['vid'] == variable_get('forum_nav_vocabulary', '')) { cache_clear_all('*', 'cache_forum', TRUE); } } @@ -97,4 +97,4 @@ */ function advcache_exit() { drupal_lookup_path('cache'); -} \ No newline at end of file +}