protected function AuthcacheVarnishTestDefaultValidation::variableDel in Authenticated User Page Caching (Authcache) 7.2
Remove a variable without accessing the database.
1 call to AuthcacheVarnishTestDefaultValidation::variableDel()
- AuthcacheVarnishTestDefaultValidation::setUp in modules/
authcache_varnish/ authcache_varnish.test - Sets up unit test environment.
File
- modules/
authcache_varnish/ authcache_varnish.test, line 358 - Test cases for authcache_varnish module.
Class
- AuthcacheVarnishTestDefaultValidation
- Unit tests for authcache_varnish_request_validate().
Code
protected function variableDel($name) {
global $conf;
unset($conf[$name]);
}