You are here

function taxonomy_xml_flush_cache_file in Taxonomy import/export via XML 7

Same name and namespace in other branches
  1. 6.2 taxonomy_xml.module \taxonomy_xml_flush_cache_file()

Utility menu callback.

1 string reference to 'taxonomy_xml_flush_cache_file'
taxonomy_xml_menu in ./taxonomy_xml.module
Implements hook_menu().

File

./taxonomy_xml.module, line 684
Make it possible to import and export taxonomies as XML documents.

Code

function taxonomy_xml_flush_cache_file($hash) {

  #$cachedir = file_directory_path() . '/url_cache';
  $cachedir = drupal_realpath('public://url_cache');
  unlink($cachedir . '/' . $hash);
  return "Deleted {$hash}";
}