You are here

function cache_clear_all in APC - Alternative PHP Cache 6

Same name and namespace in other branches
  1. 5 apc.inc \cache_clear_all()

File

./apc.inc, line 73

Code

function cache_clear_all($cid = NULL, $bin = NULL, $wildcard = FALSE) {
  $table = empty($table) ? 'cache' : $table;
  if (empty($cid)) {
    apc_handle_flush($table);
  }
  else {
    apc_handle_delete($cid, $table);
  }
}