You are here

function cache_actions_cache_bins_reset in Cache Actions 7.2

Reset the variable that stores the current available cache bins.

2 calls to cache_actions_cache_bins_reset()
cache_actions_updater_info_alter in ./cache_actions.module
Implements hook_updater_info_alter().
_cache_actions_check_module_cache_bins in ./cache_actions.module
We are storing all cache bins in a variable for performance reasons. If any of the modules that we just enabled defines a cache bin, we need to resave that variable so that all cache keys are available.

File

./cache_actions.module, line 65
This is the module file. It contains hooks for panels and views.

Code

function cache_actions_cache_bins_reset() {
  $stored_cache_bins = variable_del('cache_actions_get_cache_bins');
  cache_actions_get_cache_bins();
}