function dmemcache_static_reset in Memcache API and Integration 6
Resets one or all centrally stored static variable(s).
Backported from Drupal 7 bootstrap.inc (renamed from drupal_static) to minimize changes when backporting patches from the memcache-7.x-1.x.
Parameters
$name: Name of the static variable to reset. Omit to reset all variables. Resetting all variables should only be used, for example, for running unit tests with a clean environment.
1 call to dmemcache_static_reset()
- dmemcache_set in ./
dmemcache.inc - Place an item into memcache
File
- ./
dmemcache.inc, line 1011
Code
function dmemcache_static_reset($name = NULL) {
dmemcache_static($name, NULL, TRUE);
}