You are here

protected function MemcacheTestCase::generalWipe in Memcache API and Integration 6

Same name and namespace in other branches
  1. 7 tests/memcache.test \MemcacheTestCase::generalWipe()
  2. 7 tests/memcache6.test \MemcacheTestCase::generalWipe()

Perform the general wipe.

Parameters

$bin: The bin to perform the wipe on.

File

tests/memcache.test, line 87

Class

MemcacheTestCase

Code

protected function generalWipe($bin = NULL) {
  if ($bin == NULL) {
    $bin = $this->default_bin;
  }
  cache_clear_all(NULL, $bin);
}