You are here

function ctools_cache_simple_cache_clear in Chaos Tool Suite (ctools) 7

1 string reference to 'ctools_cache_simple_cache_clear'
simple.inc in plugins/cache/simple.inc

File

plugins/cache/simple.inc, line 41

Code

function ctools_cache_simple_cache_clear($data, $key) {
  ctools_include('object-cache');

  // Ensure that if there is somehow no data, we at least don't stomp on other
  // people's caches.
  if (empty($data)) {
    $data = 'simple_cache_plugin';
  }
  return ctools_object_cache_clear($data, $key);
}