You are here

function _variable_store_reset in Variable 7

Same name and namespace in other branches
  1. 7.2 variable_store/variable_store.module \_variable_store_reset()

Reset caches and static variables.

2 calls to _variable_store_reset()
variable_store_delete_all in variable_store/variable_store.module
Delete realm variable or full realm from store.
variable_store_variable_delete in variable_store/variable_store.module
Implements hook_variable_delete().

File

variable_store/variable_store.module, line 133
Variable API module - Database storage

Code

function _variable_store_reset() {
  drupal_static_reset('variable_store');
  cache_clear_all('variable:', 'cache_bootstrap', TRUE);
}