function taxonomy_vocabulary_static_reset

Clear all static cache variables for vocabularies.

Parameters

$ids: An array of ids to reset in entity controller cache.

2 calls to taxonomy_vocabulary_static_reset()
taxonomy_vocabulary_delete in drupal/modules/taxonomy/taxonomy.module
Deletes a vocabulary.
taxonomy_vocabulary_save in drupal/modules/taxonomy/taxonomy.module
Saves a vocabulary.

File

drupal/modules/taxonomy/taxonomy.module, line 973
Enables the organization of content into categories.

Code

function taxonomy_vocabulary_static_reset($ids = NULL) {
  drupal_static_reset('taxonomy_vocabulary_get_names');
  entity_get_controller('taxonomy_vocabulary')
    ->resetCache($ids);
}