You are here

function variable_static_reset in Variable 6

Reset static variable. Drupal 7 core backport.

See http://api.drupal.org/api/function/drupal_static_reset/7

Parameters

$name: Name of the static variable to reset. Omit to reset all variables.

File

./variable.module, line 304
Variable API module

Code

function variable_static_reset($name = NULL) {
  variable_static($name, NULL, NULL, TRUE);
}