You are here

function organigrams_items_static_reset in Organigrams 7

Clear all static cache variables for organigrams items.

2 calls to organigrams_items_static_reset()
organigrams_item_delete in ./organigrams.module
Delete an organigrams item.
organigrams_item_save in ./organigrams.module
Save an organigrams item given an organigrams item object.

File

./organigrams.module, line 2062
Defines the organigrams functions and entity types.

Code

function organigrams_items_static_reset() {
  drupal_static_reset('organigrams_item_get_children');
  drupal_static_reset('organigrams_get_tree');
  drupal_static_reset('organigrams_get_tree:parents');
  drupal_static_reset('organigrams_get_tree:organigrams_items');
}