Skip to content
Snippets Groups Projects
Verified Commit 7a680b11 authored by Alberto Paderno's avatar Alberto Paderno
Browse files

Issue #3464109: Remove generalWipe() and setupLifeTime()

parent 39cec30f
No related branches found
No related tags found
1 merge request!39Issue #3464109: Remove generalWipe() and setupLifeTime()
Pipeline #235305 passed
......@@ -94,27 +94,6 @@ class ApcCacheTestCase extends DrupalWebTestCase {
$this->assertFalse(cache_get($cid, $bin), $message);
}
/**
* Perform the general wipe.
*
* @param string $bin
* The bin to perform the wipe on.
*/
protected function generalWipe($bin) {
cache_clear_all(NULL, $bin);
}
/**
* Sets up the lifetime settings for caching.
*
* @param int $time
* The time in seconds the cache should minimal live.
*/
protected function setupLifetime($time) {
variable_set('cache_lifetime', $time);
variable_set('cache_flush', 0);
}
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment