protected function MemcacheTestCase::setupLifetime in Memcache API and Integration 6
Same name and namespace in other branches
- 7 tests/memcache6.test \MemcacheTestCase::setupLifetime()
Setup the lifetime settings for caching.
Parameters
$time: The time in seconds the cache should minimal live.
File
- tests/
memcache.test, line 101
Class
Code
protected function setupLifetime($time) {
variable_set('cache_lifetime', $time);
variable_set('cache_flush', 0);
}