You are here

function views_taxonomy in Views (for Drupal 7) 5

Invalidate the views cache when taxonomy vocabulary changes.

File

./views.module, line 2135

Code

function views_taxonomy($op, $type, $object = NULL) {
  if ($type == 'vocabulary' && $op == 'delete' || $op == 'insert' || $op == 'update') {
    views_invalidate_cache();
  }
}